commit | 7ff516ffe4ec723aad824d68d8a23751330e8f19 | [log] [tgz] |
---|---|---|
author | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st> | Mon Nov 07 20:39:25 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 09 18:55:36 2016 -0500 |
tree | 9c88e3acec5a720e1e02edd1c046c8feb4bb9ef6 | |
parent | 3f11ec045fecf2c0fb21f08f68ebc9237bd1d03c [diff] |
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>