ebpf: bpf_redirect fails with ip6 gre interfaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Nicolas Dichtel | ||
Focal |
Fix Released
|
Medium
|
Nicolas Dichtel | ||
Hirsute |
Fix Released
|
Medium
|
Nicolas Dichtel | ||
Impish |
Fix Released
|
Medium
|
Nicolas Dichtel |
Bug Description
[Impact]
The tc ebpf bpf_redirect() function cannot be used with ipv6 gre interface.
This is fixed upstream with commit a3fa449ffcf5 ("net: handle ARPHRD_IP6GRE in dev_is_
https:/
It would probably be good to also backport this one: 3b707c3008ca ("net: dev_is_
https:/
[Test Case]
Create an ebpf program that redirect packets to an ipv6 gre interface and load it with tc.
[Regression Potential]
The patches are trivial, the potential regressions are low.
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Hirsute): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Impish): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Nicolas Dichtel (nicolas-dichtel) |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Nicolas Dichtel (nicolas-dichtel) |
Changed in linux (Ubuntu Hirsute): | |
assignee: | nobody → Nicolas Dichtel (nicolas-dichtel) |
Changed in linux (Ubuntu Impish): | |
assignee: | nobody → Nicolas Dichtel (nicolas-dichtel) |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Impish): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
tags: |
added: verification-done-hirsute removed: verification-needed-hirsute |
tags: |
added: verification-done-impish removed: verification-needed-impish |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1947164
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.