]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pppoe: fix reference counting in PPPoE proxy
authorGuillaume Nault <g.nault@alphalink.fr>
Mon, 15 Feb 2016 16:01:10 +0000 (17:01 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:45:23 +0000 (15:45 -0700)
commit90df94233bf4f78aca746ea288aa01dd63ff9e4b
treefc6d1aafcf83aa15b2e40038e20b7e3d8bbb8685
parentf6e3bb10210477a4af0138faa22a855f84da9569
pppoe: fix reference counting in PPPoE proxy

Orabug: 23330957

[ Upstream commit 29e73269aa4d36f92b35610c25f8b01c789b0dc8 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
(cherry picked from commit dda12d1bb3534b095c3d3e537e081339e0b7192f)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/net/ppp/pppoe.c