pppoe: Fix socket leak.
authorDavid S. Miller <davem@davemloft.net>
Fri, 31 Oct 2008 06:11:44 +0000 (23:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Oct 2008 06:35:02 +0000 (23:35 -0700)
Move SKB trim before we lookup the socket so we don't have to
put it on failure.

Based upon an initial patch by Jarek Poplawski and suggestions
from Herbert Xu.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found