[IPV6]: Lost locking in fl6_sock_lookup
authorPavel Emelyanov <xemul@openvz.org>
Thu, 18 Oct 2007 12:15:57 +0000 (05:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2007 12:15:57 +0000 (05:15 -0700)
commitbd0bf57700cb0eaa92f3d2ee040a69743cdd99d0
tree0233529f1a744599e46799050060ab6f65fecffd
parent04028045a12ba941c579d0f3238489333ac18ea4
[IPV6]: Lost locking in fl6_sock_lookup

This routine scans the ipv6_fl_list whose update is
protected with the socket lock and the ip6_sk_fl_lock.

Since the socket lock is not taken in the lookup, use
the other one.

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