this without the bugfix in this series
will likely crash your system.
Signed-off-by: Florian Kauer
---
.../selftests/bpf/prog_tests/xdp_devmap_attach.c | 114 +++--
1 file changed, 108 insertions(+), 6 deletions(-)
diff --git a/tools/testing/selftests/bpf/prog_tests
thread+0x10/0x10
<4>[ 574.475623] ret_from_fork_asm+0x1a/0x30
<4>[ 574.475635]
<4>[ 574.475637] Modules linked in: veth br_netfilter bridge stp llc iwlmvm
x86_pkg_temp_thermal iwlwifi efivarfs nvme nvme_core
<4>[ 574.475662] CR2:
<4>[ 574.475668] ---[ en
rxq contains a pointer to the device from where
the redirect happened. Currently, the BPF program
that was executed after a redirect via BPF_MAP_TYPE_DEVMAP*
does not have it set.
Add bugfix and related selftest.
Signed-off-by: Florian Kauer
---
Changes in v4:
- return -> goto out_close, tha
this without the bugfix in this series
will likely crash your system.
Signed-off-by: Florian Kauer
---
.../selftests/bpf/prog_tests/xdp_devmap_attach.c | 114 +++--
1 file changed, 108 insertions(+), 6 deletions(-)
diff --git a/tools/testing/selftests/bpf/prog_tests
thread+0x10/0x10
<4>[ 574.475623] ret_from_fork_asm+0x1a/0x30
<4>[ 574.475635]
<4>[ 574.475637] Modules linked in: veth br_netfilter bridge stp llc iwlmvm
x86_pkg_temp_thermal iwlwifi efivarfs nvme nvme_core
<4>[ 574.475662] CR2:
<4>[ 574.475668] ---[ en
rxq contains a pointer to the device from where
the redirect happened. Currently, the BPF program
that was executed after a redirect via BPF_MAP_TYPE_DEVMAP*
does not have it set.
Add bugfix and related selftest.
Signed-off-by: Florian Kauer
---
Changes in v3:
- initialize skel to NULL, thanks
thread+0x10/0x10
<4>[ 574.475623] ret_from_fork_asm+0x1a/0x30
<4>[ 574.475635]
<4>[ 574.475637] Modules linked in: veth br_netfilter bridge stp llc iwlmvm
x86_pkg_temp_thermal iwlwifi efivarfs nvme nvme_core
<4>[ 574.475662] CR2:
<4>[ 574.475668] ---[ en
this without the bugfix in this series
will likely crash your system.
Signed-off-by: Florian Kauer
---
.../selftests/bpf/prog_tests/xdp_devmap_attach.c | 114 +++--
1 file changed, 108 insertions(+), 6 deletions(-)
diff --git a/tools/testing/selftests/bpf/prog_tests
rxq contains a pointer to the device from where
the redirect happened. Currently, the BPF program
that was executed after a redirect via BPF_MAP_TYPE_DEVMAP*
does not have it set.
Add bugfix and related selftest.
Signed-off-by: Florian Kauer
---
Changes in v2:
- changed fixes tag
- added
9 matches
Mail list logo