diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-07-06 11:04:10 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-07-06 11:07:00 +0300 |
| commit | 6930d048efe7be06cd36e7413914be0bec4a45b5 (patch) | |
| tree | 380a24504011936bce2a769072b8a977c7687939 /tests/common/process.py | |
| parent | 5787a45a952c021f697b31abe0063013912d7c8b (diff) | |
| download | accel-ppp-6930d048efe7be06cd36e7413914be0bec4a45b5.tar.gz accel-ppp-6930d048efe7be06cd36e7413914be0bec4a45b5.zip | |
ipoe: Fix OOPS if ipv6.disable=1
ipoe_recv() handles every ETH_P_IPV6 frame arriving on an IPoE
by calling ipoe_lookup_rt6()/ip6_route_output().
On ipv6.disable=1 IPv6 FIB is not initialized.
We can detect that by ipv6_mod_enabled() since kernel 4.8,
and return RX_HANDLER_PASS, so packet falls thru normal stack and get discarded.
Fixes: https://github.com/accel-ppp/accel-ppp/issues/313
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'tests/common/process.py')
0 files changed, 0 insertions, 0 deletions
