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  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]
Date:	Fri, 17 Oct 2014 17:02:04 -0700
From:	Cong Wang <>
To:	Eric Dumazet <>
Cc:	David Miller <>, netdev <>
Subject: Re: [PATCH net] ipv6: introduce tcp_v6_iif()

On Fri, Oct 17, 2014 at 9:17 AM, Eric Dumazet <> wrote:
> From: Eric Dumazet <>
> Commit 971f10eca186 ("tcp: better TCP_SKB_CB layout to reduce cache line
> misses") added a regression for SO_BINDTODEVICE on IPv6.
> This is because we still use inet6_iif() which expects that IP6 control
> block is still at the beginning of skb->cb[]
> This patch adds tcp_v6_iif() helper and uses it where necessary.
> Because __inet6_lookup_skb() is used by TCP and DCCP, we add an iif
> parameter to it.
> Signed-off-by: Eric Dumazet <>
> Fixes: 971f10eca186 ("tcp: better TCP_SKB_CB layout to reduce cache line misses")

As I already explained in previous reply, this is probably the best solution
for net, so:

Acked-by: Cong Wang <>
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists