]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0fc812e6864300c6ef86bc09566d5181f650bde2
tree2532c1cf032c4011c88b5cd68651b5558f70b231
parent2cc51fc815456d9bb44d9b4bc3dd03d2ba7d6480
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