diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2015-11-16 22:34:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-17 14:39:28 -0500 |
commit | cf554ada0be7077906aa9a17faf151ff66e3cb8e (patch) | |
tree | 73f8237dcd14a6d0f57e3fd99f4c98e4743c8777 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | eb3f8b42aaba19325eff7e99842ca36429a0a3b8 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions