]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV6] RAW: Don't release unlocked sock.
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Tue, 5 Dec 2006 21:48:27 +0000 (13:48 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Dec 2006 02:39:09 +0000 (18:39 -0800)
commit4e33fa14faecc150e97c0e4f2320745bdc7b7112
tree1359902f5a43b3621098d2bac6a7b209ca0da141
parent9a217a1c7e7f36ec4996314d64267dd711dbd9bf
[IPV6] RAW: Don't release unlocked sock.

When user builds IPv6 header and send it through raw socket, kernel
tries to release unlocked sock. (Kernel log shows
"BUG: bad unlock balance detected" with enabled debug option.)

The lock is held only for non-hdrincl sock in this function
then this patch fix to do nothing about lock for hdrincl one.

Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/raw.c