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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B5011F4.8010204@gmail.com>
Date:	Fri, 15 Jan 2010 07:57:56 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Changli Gao <xiaosuo@...il.com>
CC:	Tom Herbert <therbert@...gle.com>, davem@...emloft.net,
	netdev@...r.kernel.org,
	Netfilter Developer Mailing List 
	<netfilter-devel@...r.kernel.org>
Subject: Re: [PATCH v5] rps: Receive Packet Steering

Le 15/01/2010 07:39, Changli Gao a écrit :
> The code bellow is from my ifb-mq.patch
> #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
>         case __constant_htons(ETH_P_IPV6):
> process_ipv6:
>                 if (unlikely(!pskb_may_pull(skb, sizeof(struct ipv6hdr))))
>                         goto process_other;
>                 addr1 = ipv6_hdr(skb)->saddr.s6_addr32[3];
>                 addr2 = ipv6_hdr(skb)->daddr.s6_addr32[3];
>                 ihl = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &ip_proto);
>                 if (unlikely(ihl < 0))
>                         goto process_other_trans;
>                 break;
> #endif
> 
> 

Thanks Changli !

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ