summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm/ibmvnic.c
diff options
context:
space:
mode:
authorDaniel Borkmann2018-02-09 14:49:44 +0100
committerDavid S. Miller2018-02-09 20:46:37 +0100
commit941ff6f11c020913f5cddf543a9ec63475d7c082 (patch)
treed99421a9a776126da53568d094c34a3e6ec96924 /drivers/net/ethernet/ibm/ibmvnic.c
parentsctp: verify size of a new chunk in _sctp_make_chunk() (diff)
downloadkernel-qcow2-linux-941ff6f11c020913f5cddf543a9ec63475d7c082.tar.gz
kernel-qcow2-linux-941ff6f11c020913f5cddf543a9ec63475d7c082.tar.xz
kernel-qcow2-linux-941ff6f11c020913f5cddf543a9ec63475d7c082.zip
bpf: fix rlimit in reuseport net selftest
Fix two issues in the reuseport_bpf selftests that were reported by Linaro CI: [...] + ./reuseport_bpf ---- IPv4 UDP ---- Testing EBPF mod 10... Reprograming, testing mod 5... ./reuseport_bpf: ebpf error. log: 0: (bf) r6 = r1 1: (20) r0 = *(u32 *)skb[0] 2: (97) r0 %= 10 3: (95) exit processed 4 insns : Operation not permitted + echo FAIL [...] ---- IPv4 TCP ---- Testing EBPF mod 10... ./reuseport_bpf: failed to bind send socket: Address already in use + echo FAIL [...] For the former adjust rlimit since this was the cause of failure for loading the BPF prog, and for the latter add SO_REUSEADDR. Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Link: https://bugs.linaro.org/show_bug.cgi?id=3502 Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmvnic.c')
0 files changed, 0 insertions, 0 deletions