Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: afb4c97 ("ip6_gre: fix potential memory leak in ip6erspan_rcv") Fixes: 50670b6 ("ip_gre: fix potential memory leak in erspan_rcv") Cc: Haishuang Yan <[email protected]> Signed-off-by: William Tu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information