net: Make inet_twsk_put similar to sock_put
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 May 2009 23:50:52 +0000 (16:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2009 23:50:52 +0000 (16:50 -0700)
commit4dbc8ef7e1123bb8a591d75a2b84413aa261a9f4
tree2532c1cf032c4011c88b5cd68651b5558f70b231
parent9ce77666da48513058e330634a766d4752324f8e
net: Make inet_twsk_put similar to sock_put

By separating the freeing code from the refcounting decrementing.
Probably reducing icache pressure when we still have reference counts to
go.

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