[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171226.173410.1282091674101483328.davem@davemloft.net>
Date: Tue, 26 Dec 2017 17:34:10 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: u9012063@...il.com
Cc: netdev@...r.kernel.org, yanhaishuang@...s.chinamobile.com
Subject: Re: [PATCH net-next] net: erspan: remove md NULL check
From: William Tu <u9012063@...il.com>
Date: Thu, 21 Dec 2017 15:51:22 -0800
> 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@...s.chinamobile.com>
> Signed-off-by: William Tu <u9012063@...il.com>
Applied.
Powered by blists - more mailing lists