summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/marvell.c
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2015-11-16 22:34:26 +0100
committerDavid S. Miller <davem@davemloft.net>2015-11-17 14:39:28 -0500
commitcf554ada0be7077906aa9a17faf151ff66e3cb8e (patch)
tree73f8237dcd14a6d0f57e3fd99f4c98e4743c8777 /drivers/net/phy/marvell.c
parenteb3f8b42aaba19325eff7e99842ca36429a0a3b8 (diff)
downloadop-kernel-dev-cf554ada0be7077906aa9a17faf151ff66e3cb8e.zip
op-kernel-dev-cf554ada0be7077906aa9a17faf151ff66e3cb8e.tar.gz
ipvlan: fix leak in ipvlan_rcv_frame
Pass a **skb to ipvlan_rcv_frame so that if skb_share_check returns a new skb, we actually use it during further processing. It's safe to ignore the new skb in the ipvlan_xmit_* functions, because they call ipvlan_rcv_frame with local == true, so that dev_forward_skb is called and always takes ownership of the skb. Fixes: 2ad7bf363841 ("ipvlan: Initial check-in of the IPVLAN driver.") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/marvell.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud