Commit 70070bf
exasock: fix issue with accelerated connections on Ubuntu 20.xx and upstream
kernels 5.4.68+, causing either connection failure or lack of acceleration.
The root cause of this issue: on recent kernels, ip_route_output_key does not
update the floi4_oif field of the flowi4 structure, so the output interface
index was 0 even though we managed to find a route. The modified code retrieves
the output interface from the dst_entry rather than the flowi4 structure.1 parent 932c043 commit 70070bf
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
321 | 325 | | |
322 | 326 | | |
323 | 327 | | |
| |||
0 commit comments