lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 8 May 2016 08:44:40 +0300 From: Shmulik Ladkani <shmulik.ladkani@...il.com> To: David Ahern <dsa@...ulusnetworks.com> Cc: netdev@...r.kernel.org Subject: Re: [PATCH net-next v2 1/2] net: l3mdev: Add hook in ip and ipv6 Hi, On Sat, 7 May 2016 20:25:40 -0600 David Ahern <dsa@...ulusnetworks.com> wrote: > > - On which circumstances we end up entering > > l3mdev_ip_rcv/l3mdev_ip6_rcv where skb->dev is the master? > > If I got it right, we enter 'ip_rcv_finish' on a slave device, > > the callback is invoked and eventually sets skb->dev and skb->skb_iif > > to the VRF device; then ip_rcv_finish continues processing the > > altered skb (with the changed skb->dev). > > So on which cicumstances do we enter 'ip_rcv_finish' where the > > skb->dev is ALREADY a master device? > > If you look at the full patchset I posted on 5/4 the patch after PKTINFO > allows local traffic. That change needs the netif_is_l3_master(). I see. Thanks David.
Powered by blists - more mailing lists