Commit c37f741
committed
ip6: insert route only when creating nexthop
When multiple packets arrive for the same on-link destination, only the
first packet that creates the nexthop should attempt route insertion.
Subsequent packets reuse the existing nexthop without trying to insert
a duplicate route.
This prevents EEXIST errors and packet drops during concurrent nexthop
resolution.
Signed-off-by: Anthony Harivel <aharivel@redhat.com>1 parent 02969b8 commit c37f741
1 file changed
Lines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
62 | 76 | | |
63 | 77 | | |
64 | 78 | | |
| |||
69 | 83 | | |
70 | 84 | | |
71 | 85 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments