summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2017-12-22 02:51:22 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-27 01:30:11 +0300
commit214bb1c78a4dd94ba748f1707ecc70041abe1fd3 (patch)
treedd5285ea1c135f4fea1d701dd7a486ede2d25484 /Documentation
parentfb7df5e4000a6bc19e350a00a93b16c602bd2dd8 (diff)
downloadlinux-214bb1c78a4dd94ba748f1707ecc70041abe1fd3.tar.xz
net: erspan: remove md NULL check
The 'md' is allocated from 'tun_dst = ip_tun_rx_dst' and since we've checked 'tun_dst', 'md' will never be NULL. The patch removes it at both ipv4 and ipv6 erspan. Fixes: afb4c97d90e6 ("ip6_gre: fix potential memory leak in ip6erspan_rcv") Fixes: 50670b6ee9bc ("ip_gre: fix potential memory leak in erspan_rcv") Cc: Haishuang Yan <yanhaishuang@cmss.chinamobile.com> Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions