lkml.org 
[lkml]   [2020]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] macvlan: Skip loopback packets in RX handler
From
From: Alexander A Sverdlin <alexander.sverdlin@nokia.com>
Date: Tue, 26 May 2020 14:27:51 +0200

> From: Alexander Sverdlin <alexander.sverdlin@nokia.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@nokia.com>

Applied to net-next, thanks.

\
 
 \ /
  Last update: 2020-05-27 08:20    [W:0.188 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site