ipv4: call __ip_options_echo() in cookie_v4_check()
authorCong Wang <[email protected]>
Wed, 15 Oct 2014 21:33:20 +0000 (14:33 -0700)
committerDavid S. Miller <[email protected]>
Fri, 17 Oct 2014 16:02:57 +0000 (12:02 -0400)
commit2077eebf7d8bf20b36524de45851e28111a60c52
tree7724af3900f85889d4f0f4e17fb30db1fb94378b
parentb7983e3f89dd960b2a6d156fd2200548c3300428
ipv4: call __ip_options_echo() in cookie_v4_check()

commit 971f10eca186cab238c49da ("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 971f10eca186cab238c49da ("tcp: better TCP_SKB_CB layout to reduce cache line misses")
Cc: Krzysztof Kolasa <[email protected]>
Cc: Eric Dumazet <[email protected]>
Reported-by: Krzysztof Kolasa <[email protected]>
Tested-by: Krzysztof Kolasa <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv4/syncookies.c