Clear pending hardware keepalive when stop()
When restarting a hardware keepalive in closing a ike session, a
hardware keepalive can cause exception with bad file descriptor.
The tunnel iface may have already been torn down while closing a
ike session that causes the hardware keepalive uses wrong file
descriptor of socket.
Therefore, added to clean up pending hardware keepalive restart
when stop is called.
Bug: 292461627
Test: atest FrameworksIkeTests, CtsIkeTestCases
Change-Id: Ib5127b7b1cdd7812c1f7c0b5a1234f2723332f19
1 file changed