History

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.

Asbjørn Sloth Tønnesen committed 10 years ago

Commit 3f11ec01 parent d61d0721 file · +2 −2Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/l2tp.h+2−2
@@ -124,8 +124,8 @@ enum { · 123 unmodified lines
124 L2TP_ATTR_STATS, /* nested */124 L2TP_ATTR_STATS, /* nested */
125 L2TP_ATTR_IP6_SADDR, /* struct in6_addr */125 L2TP_ATTR_IP6_SADDR, /* struct in6_addr */
126 L2TP_ATTR_IP6_DADDR, /* struct in6_addr */126 L2TP_ATTR_IP6_DADDR, /* struct in6_addr */
127 L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* u8 */127 L2TP_ATTR_UDP_ZERO_CSUM6_TX, /* flag */
128 L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* u8 */128 L2TP_ATTR_UDP_ZERO_CSUM6_RX, /* flag */
129 L2TP_ATTR_PAD,129 L2TP_ATTR_PAD,
130 __L2TP_ATTR_MAX,130 __L2TP_ATTR_MAX,
131};131};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t