]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: tcp: Remove comma which is causing build error
authorAtul Gopinathan <atulgopinathan@gmail.com>
Sun, 28 Mar 2021 12:05:15 +0000 (17:35 +0530)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 28 Mar 2021 18:23:55 +0000 (11:23 -0700)
commite06004bb437d8ddd1a7e110cafaa69b2c701362e
tree3f70f82a8f70c23564871915e2cb080533db19bb
parentc80ee6f36fc6dc45bc6c08e4bca8a00716b7e16f
bpf: tcp: Remove comma which is causing build error

Currently, building the bpf-next source with the CONFIG_BPF_SYSCALL
enabled is causing a compilation error:

"net/ipv4/bpf_tcp_ca.c:209:28: error: expected identifier or '(' before
',' token"

Fix this by removing an unnecessary comma.

Fixes: 2fdd2ffeee03 ("bpf: tcp: Put some tcp cong functions in allowlist for bpf-tcp-cc")
Reported-by: syzbot+0b74d8ec3bf0cc4e4209@syzkaller.appspotmail.com
Signed-off-by: Atul Gopinathan <atulgopinathan@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210328120515.113895-1-atulgopinathan@gmail.com
net/ipv4/bpf_tcp_ca.c