On Wednesday 2017-03-01 15:32, Alin Nastac wrote:

>Extract IPv6 packet that triggered the sending of redirect message from
>ICMPv6 Redirected Header option and check if conntrack table contain such
>connection. Mark redirect packet as RELATED if a matching connection is found.
>
>Signed-off-by: Alin Nastac <alin.nas...@gmail.com>
>---
> net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c | 77 ++++++++++++++++++++++++--
> 1 file changed, 72 insertions(+), 5 deletions(-)
>       /* is not error message ? */
>-      if (icmp6h->icmp6_type >= 128)
>+      if (icmp6h->icmp6_type == NDISC_REDIRECT) {

That should most likely become a new subfunction for the size that it is.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to