]> git.karo-electronics.de Git - mv-sheeva.git/commit
[IPV6]: Fix again the fl6_sock_lookup() fixed locking
authorPavel Emelyanov <xemul@openvz.org>
Thu, 18 Oct 2007 12:38:48 +0000 (05:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2007 12:38:48 +0000 (05:38 -0700)
commit52f095ee88d8851866bc7694ab991ca5abf21d5e
tree803f93f81cbdffc107377829531ab2afd88e9e62
parentbc34b841556aad437baf4199744e55500bfa2088
[IPV6]: Fix again the fl6_sock_lookup() fixed locking

YOSHIFUJI fairly pointed out, that the users increment should
be done under the ip6_sk_fl_lock not to give IPV6_FL_A_PUT a
chance to put this count to zero and release the flowlabel.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_flowlabel.c