summaryrefslogtreecommitdiff
path: root/drivers/net/ipvlan/ipvlan_core.c
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2017-11-23 11:27:24 +0800
committerDavid S. Miller <davem@davemloft.net>2017-11-24 03:29:22 +0900
commitf9094b7603c011d27db7ba109e69881c72fa611d (patch)
tree47e91033a8f61886900324f7ff8ad275d37bd565 /drivers/net/ipvlan/ipvlan_core.c
parentd6efab626c886acd070d9aabe39bc61e8c5a75f7 (diff)
geneve: only configure or fill UDP_ZERO_CSUM6_RX/TX info when CONFIG_IPV6
Stefano pointed that configure or show UDP_ZERO_CSUM6_RX/TX info doesn't make sense if we haven't enabled CONFIG_IPV6. Fix it by adding if IS_ENABLED(CONFIG_IPV6) check. Fixes: abe492b4f50c ("geneve: UDP checksum configuration via netlink") Fixes: fd7eafd02121 ("geneve: fix fill_info when link down") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Reviewed-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipvlan/ipvlan_core.c')
0 files changed, 0 insertions, 0 deletions