William Tu 214bb1c78a 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>
2017-12-26 17:30:11 -05:00
..
2017-10-18 14:10:29 +01:00
2017-10-21 01:33:19 +01:00
2017-12-26 17:30:11 -05:00
2017-10-12 22:57:11 -07:00
2017-11-11 18:53:16 +09:00
2017-10-16 21:24:25 +01:00
2017-12-13 13:59:21 -05:00