Repository navigation
Commit 2bce178
net: openvswitch: fix TTL decrement exception action execution
[ Upstream commit 09d6217 ]
Currently, the exception actions are not processed correctly as the wrong
dataset is passed. This change fixes this, including the misleading
comment.
In addition, a check was added to make sure we work on an IPv4 packet,
and not just assume if it's not IPv6 it's IPv4.
This was all tested using OVS with patch,
https://patchwork.ozlabs.org/project/openvswitch/list/?series=21639,
applied and sending packets with a TTL of 1 (and 0), both with IPv4
and IPv6.
Fixes: 69929d4 ("net: openvswitch: fix TTL decrement action netlink message format")
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Link: https://lore.kernel.org/r/160733569860.3007.12938188180387116741.stgit@wsfd-netdev64.ntdv.lab.eng.bos.redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 78b1203 commit 2bce178
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
962 | | - | |
963 | | - | |
| 962 | + | |
| 963 | + | |
964 | 964 | | |
965 | | - | |
966 | | - | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
967 | 968 | | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | 969 | | |
973 | 970 | | |
974 | 971 | | |
| |||
1212 | 1209 | | |
1213 | 1210 | | |
1214 | 1211 | | |
1215 | | - | |
| 1212 | + | |
1216 | 1213 | | |
1217 | 1214 | | |
1218 | 1215 | | |
| |||
0 commit comments