Re: [PATCH] net: ICMPv6 packets transmitted on wrong interface if nfmark is mangled
From: David Miller <davem@davemloft.net>
Date: 2012-11-28 23:30:37
Also in:
netfilter-devel
From: David Miller <davem@davemloft.net>
Date: 2012-11-28 23:30:37
Also in:
netfilter-devel
From: Dries De Winter <redacted> Date: Wed, 28 Nov 2012 10:09:55 +0100 (CET)
I propose a patch which allows to mark a dst_entry as "non-reroutable". icmp6_dst_alloc() (used by ndisc and MLD implementation) will always mark the allocated dst_entry as such. A check is added to netfilter (IPv6-only) so packets heading for a non-reroutable destination are never rerouted.
What about addrconf_dst_alloc()? Shouldn't it have this new flag set as well? Regardless of the answer to that question, it should be explained in the commit message. Thanks.