diff options
author | Jesse Gross <jesse@kernel.org> | 2016-01-20 17:59:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-20 18:48:38 -0800 |
commit | ce87fc6ce3f9f4488546187e3757cf666d9d4a2a (patch) | |
tree | 02d13d67cc1113935a5a3b738a51bb70c8b20cad /include/linux/ns_common.h | |
parent | 5f2f3cad8b878b23f17a11dd5af4f4a2cc41c797 (diff) | |
download | linux-ce87fc6ce3f9f4488546187e3757cf666d9d4a2a.tar.gz linux-ce87fc6ce3f9f4488546187e3757cf666d9d4a2a.tar.bz2 linux-ce87fc6ce3f9f4488546187e3757cf666d9d4a2a.zip |
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: 2e15ea39 ("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>
Diffstat (limited to 'include/linux/ns_common.h')
0 files changed, 0 insertions, 0 deletions