Commit 36ed85f
Herton R. Krzesinski
Merge: ip_gre: do not report erspan version on GRE interface
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/1806
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2150168
Upstream Status: net.git commit ee49669
commit ee49669
Author: Hangbin Liu <liuhangbin@gmail.com>
Date: Sat Dec 3 11:28:58 2022 +0800
ip_gre: do not report erspan version on GRE interface
Although the type I ERSPAN is based on the barebones IP + GRE
encapsulation and no extra ERSPAN header. Report erspan version on GRE
interface looks unreasonable. Fix this by separating the erspan and gre
fill info.
IPv6 GRE does not have this info as IPv6 only supports erspan version
1 and 2.
Reported-by: Jianlin Shi <jishi@redhat.com>
Fixes: f989d54 ("erspan: Add type I version 0 support.")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: William Tu <u9012063@gmail.com>
Link: https://lore.kernel.org/r/20221203032858.3130339-1-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Hangbin Liu <haliu@redhat.com>
Approved-by: Antoine Tenart <atenart@redhat.com>
Approved-by: John B. Wyatt IV <jwyatt@redhat.com>
Signed-off-by: Herton R. Krzesinski <herton@redhat.com>1 file changed
+29
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1498 | 1498 | | |
1499 | 1499 | | |
1500 | 1500 | | |
1501 | | - | |
1502 | | - | |
1503 | | - | |
1504 | | - | |
1505 | | - | |
1506 | | - | |
1507 | | - | |
1508 | | - | |
1509 | | - | |
1510 | | - | |
1511 | | - | |
1512 | | - | |
1513 | | - | |
1514 | | - | |
1515 | | - | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
1519 | 1501 | | |
1520 | 1502 | | |
1521 | 1503 | | |
| |||
1556 | 1538 | | |
1557 | 1539 | | |
1558 | 1540 | | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
1559 | 1569 | | |
1560 | 1570 | | |
1561 | 1571 | | |
| |||
1634 | 1644 | | |
1635 | 1645 | | |
1636 | 1646 | | |
1637 | | - | |
| 1647 | + | |
1638 | 1648 | | |
1639 | 1649 | | |
1640 | 1650 | | |
| |||
0 commit comments