Repository navigation
Commit 3933d20
Pass IPv6 TCP packets to tcp6 gro_receive in homa_hijack_gro_receive
* homa_hijack_gro_receive is installed for both inet_offloads and
inet6_offloads, but always passed non-Homa packets to the IPv4 TCP
gro_receive, so IPv6 TCP packets went through tcp4_gro_receive
(which treats the IPv6 header as an iphdr). homa_hijack_init runs
at module load, so this affects all IPv6 TCP traffic.
* Use the saved tcp6_net_offload for IPv6 packets.
* Pin the existing pass-through test to IPv4 (it relied on the
default) and add an IPv6 one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 4bd0275 commit 3933d20
2 files changed
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
125 | 142 | | |
126 | 143 | | |
127 | 144 | | |
| |||
0 commit comments