Skip to content
Commit 263e69cb authored by David S. Miller's avatar David S. Miller
Browse files

pppoe: Fix socket leak.



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: default avatarDavid S. Miller <davem@davemloft.net>
parent 721d5dfe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment