pppoe: fix reference counting in PPPoE proxy
authorGuillaume Nault <g.nault@alphalink.fr>
Mon, 15 Feb 2016 16:01:10 +0000 (17:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 21:02:01 +0000 (16:02 -0500)
commit29e73269aa4d36f92b35610c25f8b01c789b0dc8
tree72e7e31f35955e50b53c4051a2250cd96bbaf459
parent705bcdda81eda8b4b4c564c4be7b8cfad6a180d6
pppoe: fix reference counting in PPPoE proxy

Drop reference on the relay_po socket when __pppoe_xmit() succeeds.
This is already handled correctly in the error path.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/pppoe.c