Re: [PATCH 1/2] [IPV6] RAW: Don't release unlocked sock.

2006-12-05 Thread David Miller
From: Masahide NAKAMURA <[EMAIL PROTECTED]> Date: Tue, 5 Dec 2006 19:03:14 +0900 > 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 fo

[PATCH 1/2] [IPV6] RAW: Don't release unlocked sock.

2006-12-05 Thread Masahide NAKAMURA
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