aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorHangbin Liu <[email protected]>2017-11-23 11:27:24 +0800
committerDavid S. Miller <[email protected]>2017-11-24 03:29:22 +0900
commitf9094b7603c011d27db7ba109e69881c72fa611d (patch)
tree47e91033a8f61886900324f7ff8ad275d37bd565 /net/unix/sysctl_net_unix.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 <[email protected]> Reviewed-by: Stefano Brivio <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions