Repository navigation
Commit ce87fc6
gro: Make GRO aware of lightweight tunnels.
GRO is currently not aware of tunnel metadata generated by lightweight
tunnels and stored in the dst. This leads to two possible problems:
* Incorrectly merging two frames that have different metadata.
* Leaking of allocated metadata from merged frames.
This avoids those problems by comparing the tunnel information before
merging, similar to how we handle other metadata (such as vlan tags),
and releasing any state when we are done.
Reported-by: John <john.phillips5@hpe.com>
Fixes: 2e15ea3 ("ip_gre: Add support to collect tunnel metadata.")
Signed-off-by: Jesse Gross <jesse@kernel.org>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 5f2f3ca commit ce87fc6
2 files changed
Lines changed: 23 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
47 | 65 | | |
48 | 66 | | |
49 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4351 | 4351 | | |
4352 | 4352 | | |
4353 | 4353 | | |
| 4354 | + | |
4354 | 4355 | | |
4355 | 4356 | | |
4356 | 4357 | | |
| |||
4548 | 4549 | | |
4549 | 4550 | | |
4550 | 4551 | | |
4551 | | - | |
| 4552 | + | |
| 4553 | + | |
4552 | 4554 | | |
4553 | | - | |
| 4555 | + | |
4554 | 4556 | | |
| 4557 | + | |
4555 | 4558 | | |
4556 | 4559 | | |
4557 | 4560 | | |
| |||
0 commit comments