[PPPoE]: move lock_sock() in pppoe_sendmsg() to the right location
authorFlorian Zumbiehl <florz@florz.de>
Tue, 31 Jul 2007 00:49:13 +0000 (17:49 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:23 +0000 (02:28 -0700)
commit8aeca8fea5f2de2563e097829d62af30ca2de650
treed7fe27b3cef67e8f44836082ea21c42e88ab5d58
parent86c1dcfc96a778433ebc6e9b1d3e80a126cb80f2
[PPPoE]: move lock_sock() in pppoe_sendmsg() to the right location

and the last one for now: Acquire the sock lock in pppoe_sendmsg()
before accessing the sock - and in particular avoid releasing the lock
even though it hasn't been acquired.

Signed-off-by: Florian Zumbiehl <florz@florz.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c