diff options
author | 2021-09-06 10:56:37 +0200 | |
---|---|---|
committer | 2021-09-06 13:12:09 +0100 | |
commit | 6d5f1ef838683efba01bacb7854f6516fbcbae17 (patch) | |
tree | 07244aaf7352b018d8229d2cf1c7bfce577daaed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MAINTAINERS: add VM SOCKETS (AF_VSOCK) entry (diff) | |
download | wireguard-linux-6d5f1ef838683efba01bacb7854f6516fbcbae17.tar.xz wireguard-linux-6d5f1ef838683efba01bacb7854f6516fbcbae17.zip |
bonding: Fix negative jump label count on nested bonding
With nested bonding devices the nested bond device's ndo_bpf was
called without a program causing it to decrement the static key
without a prior increment leading to negative count.
Fix the issue by 1) only calling slave's ndo_bpf when there's a
program to be loaded and 2) only decrement the count when a program
is unloaded.
Fixes: 9e2ee5c7e7c3 ("net, bonding: Add XDP support to the bonding driver")
Reported-by: syzbot+30622fb04ddd72a4d167@syzkaller.appspotmail.com
Signed-off-by: Jussi Maki <joamaki@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions