OSDN Git Service

net: l2tp: netlink: l2tp_nl_tunnel_send: set UDP6 checksum flags
authorAsbjørn Sloth Tønnesen <asbjorn@asbjorn.st>
Mon, 7 Nov 2016 20:39:26 +0000 (20:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 23:55:36 +0000 (18:55 -0500)
commit97b7af097edb8b4d2456f16b75938cf119ed0c97
treedc11892dd761e400488885c5c7d6313ba4b383ff
parent7ff516ffe4ec723aad824d68d8a23751330e8f19
net: l2tp: netlink: l2tp_nl_tunnel_send: set UDP6 checksum flags

This patch causes the proper attribute flags to be set,
in the case that IPv6 UDP checksums are disabled, so that
userspace ie. `ip l2tp show tunnel` knows about it.

Signed-off-by: Asbjoern Sloth Toennesen <asbjorn@asbjorn.st>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_netlink.c