Skip to content

Commit 3f11ec0

Browse files
asbjornstdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Asbjoern Sloth Toennesen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d61d072 commit 3f11ec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/uapi/linux/l2tp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ enum {
124124
L2TP_ATTR_STATS, /* nested */
125125
L2TP_ATTR_IP6_SADDR, /* struct in6_addr */
126126
L2TP_ATTR_IP6_DADDR, /* struct in6_addr */
127-
L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* u8 */
128-
L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* u8 */
127+
L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* flag */
128+
L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* flag */
129129
L2TP_ATTR_PAD,
130130
__L2TP_ATTR_MAX,
131131
};

0 commit comments

Comments
 (0)