diff options
author | Sabrina Dubroca | 2015-11-16 22:34:26 +0100 |
---|---|---|
committer | David S. Miller | 2015-11-17 20:39:28 +0100 |
commit | cf554ada0be7077906aa9a17faf151ff66e3cb8e (patch) | |
tree | 73f8237dcd14a6d0f57e3fd99f4c98e4743c8777 /drivers/spi/spi-bfin5xx.c | |
parent | Merge branch 'vlan-reorder' (diff) | |
download | kernel-qcow2-linux-cf554ada0be7077906aa9a17faf151ff66e3cb8e.tar.gz kernel-qcow2-linux-cf554ada0be7077906aa9a17faf151ff66e3cb8e.tar.xz kernel-qcow2-linux-cf554ada0be7077906aa9a17faf151ff66e3cb8e.zip |
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/spi/spi-bfin5xx.c')
0 files changed, 0 insertions, 0 deletions