diff options
author | Eric Dumazet <edumazet@google.com> | 2020-07-31 19:09:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-01 11:46:29 -0700 |
commit | 0e8642cf369a37b718c15effa6ffd52c00fd7d15 (patch) | |
tree | 39ffb14de42e61e9f9354e3624c6c1136b5d32ba /fs/sysv/balloc.c | |
parent | 6f3de75cdf60c1b859bc8c1904d25889c00d7bbe (diff) | |
download | linux-0e8642cf369a37b718c15effa6ffd52c00fd7d15.tar.gz linux-0e8642cf369a37b718c15effa6ffd52c00fd7d15.tar.bz2 linux-0e8642cf369a37b718c15effa6ffd52c00fd7d15.zip |
tcp: fix build fong CONFIG_MPTCP=n
Fixes these errors:
net/ipv4/syncookies.c: In function 'tcp_get_cookie_sock':
net/ipv4/syncookies.c:216:19: error: 'struct tcp_request_sock' has no
member named 'drop_req'
216 | if (tcp_rsk(req)->drop_req) {
| ^~
net/ipv4/syncookies.c: In function 'cookie_tcp_reqsk_alloc':
net/ipv4/syncookies.c:289:27: warning: unused variable 'treq'
[-Wunused-variable]
289 | struct tcp_request_sock *treq;
| ^~~~
make[3]: *** [scripts/Makefile.build:280: net/ipv4/syncookies.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Fixes: 9466a1ccebbe ("mptcp: enable JOIN requests even if cookies are in use")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Florian Westphal <fw@strlen.de>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/sysv/balloc.c')
0 files changed, 0 insertions, 0 deletions