diff options
author | Eric Garver <e@erig.me> | 2017-05-24 00:37:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-25 18:51:16 +0200 |
commit | 11387fe4a98f75d1f4cdb3efe3b42b19205c9df5 (patch) | |
tree | 0d6b5c4cf7e8c7baf0d46d390fe0d464d8955ec8 /drivers/net/gtp.c | |
parent | Merge branch 'q-in-q-checksums' (diff) | |
download | linux-11387fe4a98f75d1f4cdb3efe3b42b19205c9df5.tar.xz linux-11387fe4a98f75d1f4cdb3efe3b42b19205c9df5.zip |
geneve: fix fill_info when using collect_metadata
Since 9b4437a5b870 ("geneve: Unify LWT and netdev handling.") fill_info
does not return UDP_ZERO_CSUM6_RX when using COLLECT_METADATA. This is
because it uses ip_tunnel_info_af() with the device level info, which is
not valid for COLLECT_METADATA.
Fix by checking for the presence of the actual sockets.
Fixes: 9b4437a5b870 ("geneve: Unify LWT and netdev handling.")
Signed-off-by: Eric Garver <e@erig.me>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gtp.c')
0 files changed, 0 insertions, 0 deletions