[TWSK]: Grab the module refcount for timewait sockets
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>
Tue, 11 Oct 2005 04:25:23 +0000 (21:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Oct 2005 04:25:23 +0000 (21:25 -0700)
commiteeb2b8560676e454ad37ee30b49bc7d897edc9be
tree60b316e93b880aa1ba01a9c5496c8269a48b4de9
parent2a9bc9bb4d3a4570a8a48aadf071b91e657adb89
[TWSK]: Grab the module refcount for timewait sockets

This is required to avoid unloading a module that has active timewait
sockets, such as DCCP.

Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_timewait_sock.h
net/ipv4/inet_timewait_sock.c