diff options
author | 2016-11-07 20:39:25 +0000 | |
---|---|---|
committer | 2016-11-09 18:55:36 -0500 | |
commit | 7ff516ffe4ec723aad824d68d8a23751330e8f19 (patch) | |
tree | 9c88e3acec5a720e1e02edd1c046c8feb4bb9ef6 /include/linux/phy.h | |
parent | net: l2tp: change L2TP_ATTR_UDP_ZERO_CSUM6_{RX, TX} attribute types (diff) | |
download | wireguard-linux-7ff516ffe4ec723aad824d68d8a23751330e8f19.tar.xz wireguard-linux-7ff516ffe4ec723aad824d68d8a23751330e8f19.zip |
net: l2tp: only set L2TP_ATTR_UDP_CSUM if AF_INET
Only set L2TP_ATTR_UDP_CSUM in l2tp_nl_tunnel_send()
when it's running over IPv4.
This prepares the code to also have IPv6 specific attributes.
Signed-off-by: Asbjoern Sloth Toennesen <asbjorn@asbjorn.st>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions