]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 2 Mar 2016 15:29:13 +0000 (16:29 +0100)
commit00028cc77254f4973e6af17ea84fde3b1c2802dc
tree93b8f7f2ba35364929db740614b16cf8abc7a8cb
parent63b7b33c7c4ae9dc71c2eef673611039aadbe87a
pppoe: fix reference counting in PPPoE proxy

[ 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: Jiri Slaby <jslaby@suse.cz>
drivers/net/ppp/pppoe.c