]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: call __ip_options_echo() in cookie_v4_check()
authorCong Wang <cwang@twopensource.com>
Wed, 15 Oct 2014 21:33:20 +0000 (14:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Oct 2014 16:02:57 +0000 (12:02 -0400)
commit1fcd2c4a59af283c3d60ccb27172bd69fdf538af
tree7724af3900f85889d4f0f4e17fb30db1fb94378b
parent73c7cfb7d2884c75976197ff3ad6f8217b270a59
ipv4: call __ip_options_echo() in cookie_v4_check()

commit 06c9029f9882c80081bd179 ("tcp: better TCP_SKB_CB layout to reduce cache line misses")
missed that cookie_v4_check() still calls ip_options_echo() which uses
IPCB(). It should use TCPCB() at TCP layer, so call __ip_options_echo()
instead.

Fixes: commit 06c9029f9882c80081bd179 ("tcp: better TCP_SKB_CB layout to reduce cache line misses")
Cc: Krzysztof Kolasa <kkolasa@winsoft.pl>
Cc: Eric Dumazet <edumazet@google.com>
Reported-by: Krzysztof Kolasa <kkolasa@winsoft.pl>
Tested-by: Krzysztof Kolasa <kkolasa@winsoft.pl>
Signed-off-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/syncookies.c