[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200526.231859.398097568630300979.davem@davemloft.net>
Date: Tue, 26 May 2020 23:18:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: alexander.sverdlin@...ia.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] macvlan: Skip loopback packets in RX handler
From: Alexander A Sverdlin <alexander.sverdlin@...ia.com>
Date: Tue, 26 May 2020 14:27:51 +0200
> From: Alexander Sverdlin <alexander.sverdlin@...ia.com>
>
> Ignore loopback-originatig packets soon enough and don't try to process L2
> header where it doesn't exist. The very similar br_handle_frame() in bridge
> code performs exactly the same check.
>
> This is an example of such ICMPv6 packet:
...
> Call Trace, how it happens exactly:
> ...
> macvlan_handle_frame+0x321/0x425 [macvlan]
> ? macvlan_forward_source+0x110/0x110 [macvlan]
> __netif_receive_skb_core+0x545/0xda0
...
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@...ia.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists