Re: [PATCH net-next] vrf: plug skb leaks

2015-08-20 Thread David Miller
From: Nikolay Aleksandrov ra...@blackwall.org Date: Wed, 19 Aug 2015 06:12:29 +0300 From: Nikolay Aleksandrov niko...@cumulusnetworks.com Currently whenever a packet different from ETH_P_IP is sent through the VRF device it is leaked so plug the leaks and properly drop these packets.

[PATCH net-next] vrf: plug skb leaks

2015-08-19 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov niko...@cumulusnetworks.com Currently whenever a packet different from ETH_P_IP is sent through the VRF device it is leaked so plug the leaks and properly drop these packets. Signed-off-by: Nikolay Aleksandrov niko...@cumulusnetworks.com --- drivers/net/vrf.c | 13

Re: [PATCH net-next] vrf: plug skb leaks

2015-08-19 Thread David Ahern
Hi Nikolay: On 8/18/15 8:12 PM, Nikolay Aleksandrov wrote: diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index ed208317cbb5..4aa06450fafa 100644 --- a/drivers/net/vrf.c +++ b/drivers/net/vrf.c @@ -97,6 +97,12 @@ static bool is_ip_rx_frame(struct sk_buff *skb) return false; }

Re: [PATCH net-next] vrf: plug skb leaks

2015-08-19 Thread Nikolay Aleksandrov
On Aug 19, 2015, at 8:27 PM, Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: On Aug 19, 2015 20:13, David Ahern d...@cumulusnetworks.com wrote: Hi Nikolay: On 8/18/15 8:12 PM, Nikolay Aleksandrov wrote: diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index

Re: [PATCH net-next] vrf: plug skb leaks

2015-08-19 Thread David Ahern
On 8/19/15 1:17 PM, Nikolay Aleksandrov wrote: On Aug 19, 2015, at 8:27 PM, Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: On Aug 19, 2015 20:13, David Ahern d...@cumulusnetworks.com wrote: Hi Nikolay: On 8/18/15 8:12 PM, Nikolay Aleksandrov wrote: diff --git