summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/l2tp.h
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen2016-11-07 21:39:24 +0100
committerDavid S. Miller2016-11-10 00:55:36 +0100
commit3f11ec045fecf2c0fb21f08f68ebc9237bd1d03c (patch)
tree28d081433386cfd232eef36d2f46fcb67a8ad339 /include/uapi/linux/l2tp.h
parentnet-gro: avoid reorders (diff)
downloadkernel-qcow2-linux-3f11ec045fecf2c0fb21f08f68ebc9237bd1d03c.tar.gz
kernel-qcow2-linux-3f11ec045fecf2c0fb21f08f68ebc9237bd1d03c.tar.xz
kernel-qcow2-linux-3f11ec045fecf2c0fb21f08f68ebc9237bd1d03c.zip
net: l2tp: change L2TP_ATTR_UDP_ZERO_CSUM6_{RX, TX} attribute types
The attributes L2TP_ATTR_UDP_ZERO_CSUM6_RX and L2TP_ATTR_UDP_ZERO_CSUM6_TX are used as flags, but is defined as a u8 in a comment. This patch redocuments them as flags. Adding nla_policy entries would break API, so not doing that. CC: Tom Herbert <therbert@google.com> Signed-off-by: Asbjoern Sloth Toennesen <asbjorn@asbjorn.st> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/l2tp.h')
-rw-r--r--include/uapi/linux/l2tp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/l2tp.h b/include/uapi/linux/l2tp.h
index 4bd27d0270a2..5daa48e2571e 100644
--- a/include/uapi/linux/l2tp.h
+++ b/include/uapi/linux/l2tp.h
@@ -124,8 +124,8 @@ enum {
L2TP_ATTR_STATS, /* nested */
L2TP_ATTR_IP6_SADDR, /* struct in6_addr */
L2TP_ATTR_IP6_DADDR, /* struct in6_addr */
- L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* u8 */
- L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* u8 */
+ L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* flag */
+ L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* flag */
L2TP_ATTR_PAD,
__L2TP_ATTR_MAX,
};