diff options
| author | Peter Oskolkov <[email protected]> | 2019-02-24 02:25:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-25 06:24:50 +0000 |
| commit | bd16693f359bbab8776541c06a6df32f3996638e (patch) | |
| tree | f70560333763253c64f640ef1516f2bf6d6bb5e7 /net/switchdev/switchdev.c | |
| parent | ip_tunnel: Add ip tunnel tun_info type dst_cache in ip_tunnel_xmit (diff) | |
| download | kernel-bd16693f359bbab8776541c06a6df32f3996638e.tar.gz kernel-bd16693f359bbab8776541c06a6df32f3996638e.zip | |
net: fix double-free in bpf_lwt_xmit_reroute
dst_output() frees skb when it fails (see, for example,
ip_finish_output2), so it must not be freed in this case.
Fixes: 3bd0b15281af ("bpf: add handling of BPF_LWT_REROUTE to lwt_bpf.c")
Signed-off-by: Peter Oskolkov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
