tcp: Disable killing of time_wait sockets in tcp_nuke_addr
tcp_nuke_addr removes all sockets in TCP state CONNECTED and TIME_WAIT by parsing a hash list of sockets. When parsing through this list, accessing TIME_WAIT sockets leads to a crash since the sk meta data is probably not valid. Fix this by bypassing TIME_WAIT sockets in tcp_nuke_addr. Change-Id: Iafe9fafd406f1afe97f02cc55095ceb5bd3b4722 Signed-off-by:Se Wang Oh <sewango@codeaurora.org> Signed-off-by:
Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Loading
Please register or sign in to comment