]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: use IPCB instead of TCP_SKB_CB in inet_exact_dif_match()
authorDavid Ahern <dsahern@gmail.com>
Sun, 3 Dec 2017 17:33:00 +0000 (09:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Dec 2017 17:39:15 +0000 (12:39 -0500)
commitc1e151bb4ea67814ff7971020f28931252b9f162
tree738365d5e9a0912dc35421e5ce357b6e0e4422c8
parente5511d16a5661276076e57849bb64bc8fe641676
tcp: use IPCB instead of TCP_SKB_CB in inet_exact_dif_match()

After this fix : ("tcp: add tcp_v4_fill_cb()/tcp_v4_restore_cb()"),
socket lookups happen while skb->cb[] has not been mangled yet by TCP.

Fixes: 05dbe04b4454 ("net: Require exact match for TCP socket lookups if dif is l3mdev")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h