OSDN Git Service

net: socket ioctl to reset connections matching local address
authorRobert Love <rlove@google.com>
Mon, 12 May 2008 21:08:29 +0000 (17:08 -0400)
committerArve Hjønnevåg <arve@android.com>
Tue, 7 Apr 2009 23:43:12 +0000 (16:43 -0700)
commit2df5996350da51bcdee798c00ae1f2415fd9ad20
treeebdc507e56bb5c6c842e0b7afd8220f04c87528e
parent99518ba0de32a820131f5b55f92740213acdd369
net: socket ioctl to reset connections matching local address

Introduce a new socket ioctl, SIOCKILLADDR, that nukes all sockets
bound to the same local address. This is useful in situations with
dynamic IPs, to kill stuck connections.

Signed-off-by: Brian Swetland <swetland@google.com>
net: fix tcp_v4_nuke_addr

Signed-off-by: Dima Zavin <dima@android.com>
include/linux/sockios.h
include/net/tcp.h
net/ipv4/af_inet.c
net/ipv4/devinet.c
net/ipv4/tcp_ipv4.c