diff options
| author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2016-04-26 04:06:18 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-04-26 12:00:49 -0400 |
| commit | 9854518ea04db33738602d45ebc96a200e6f5198 (patch) | |
| tree | 96d3d6f4024f7a79010bea763f5922315d7bd63f /include/uapi/linux/tc_act | |
| parent | b676338fb3aab0b63b4a2489feb8f35003db22e8 (diff) | |
sched: align nlattr properly when needed
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/tc_act')
| -rw-r--r-- | include/uapi/linux/tc_act/tc_bpf.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_connmark.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_csum.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_defact.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_gact.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_ife.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_ipt.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_mirred.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_nat.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_pedit.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_skbedit.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tc_act/tc_vlan.h | 1 |
12 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/tc_act/tc_bpf.h b/include/uapi/linux/tc_act/tc_bpf.h index 07f17cc70bb3..063d9d465119 100644 --- a/include/uapi/linux/tc_act/tc_bpf.h +++ b/include/uapi/linux/tc_act/tc_bpf.h | |||
| @@ -26,6 +26,7 @@ enum { | |||
| 26 | TCA_ACT_BPF_OPS, | 26 | TCA_ACT_BPF_OPS, |
| 27 | TCA_ACT_BPF_FD, | 27 | TCA_ACT_BPF_FD, |
| 28 | TCA_ACT_BPF_NAME, | 28 | TCA_ACT_BPF_NAME, |
| 29 | TCA_ACT_BPF_PAD, | ||
| 29 | __TCA_ACT_BPF_MAX, | 30 | __TCA_ACT_BPF_MAX, |
| 30 | }; | 31 | }; |
| 31 | #define TCA_ACT_BPF_MAX (__TCA_ACT_BPF_MAX - 1) | 32 | #define TCA_ACT_BPF_MAX (__TCA_ACT_BPF_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_connmark.h b/include/uapi/linux/tc_act/tc_connmark.h index 994b0971bce2..62a5e944c554 100644 --- a/include/uapi/linux/tc_act/tc_connmark.h +++ b/include/uapi/linux/tc_act/tc_connmark.h | |||
| @@ -15,6 +15,7 @@ enum { | |||
| 15 | TCA_CONNMARK_UNSPEC, | 15 | TCA_CONNMARK_UNSPEC, |
| 16 | TCA_CONNMARK_PARMS, | 16 | TCA_CONNMARK_PARMS, |
| 17 | TCA_CONNMARK_TM, | 17 | TCA_CONNMARK_TM, |
| 18 | TCA_CONNMARK_PAD, | ||
| 18 | __TCA_CONNMARK_MAX | 19 | __TCA_CONNMARK_MAX |
| 19 | }; | 20 | }; |
| 20 | #define TCA_CONNMARK_MAX (__TCA_CONNMARK_MAX - 1) | 21 | #define TCA_CONNMARK_MAX (__TCA_CONNMARK_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_csum.h b/include/uapi/linux/tc_act/tc_csum.h index a047c49a3153..8ac8041ab5f1 100644 --- a/include/uapi/linux/tc_act/tc_csum.h +++ b/include/uapi/linux/tc_act/tc_csum.h | |||
| @@ -10,6 +10,7 @@ enum { | |||
| 10 | TCA_CSUM_UNSPEC, | 10 | TCA_CSUM_UNSPEC, |
| 11 | TCA_CSUM_PARMS, | 11 | TCA_CSUM_PARMS, |
| 12 | TCA_CSUM_TM, | 12 | TCA_CSUM_TM, |
| 13 | TCA_CSUM_PAD, | ||
| 13 | __TCA_CSUM_MAX | 14 | __TCA_CSUM_MAX |
| 14 | }; | 15 | }; |
| 15 | #define TCA_CSUM_MAX (__TCA_CSUM_MAX - 1) | 16 | #define TCA_CSUM_MAX (__TCA_CSUM_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_defact.h b/include/uapi/linux/tc_act/tc_defact.h index 17dddb40f740..d2a3abb77aeb 100644 --- a/include/uapi/linux/tc_act/tc_defact.h +++ b/include/uapi/linux/tc_act/tc_defact.h | |||
| @@ -12,6 +12,7 @@ enum { | |||
| 12 | TCA_DEF_TM, | 12 | TCA_DEF_TM, |
| 13 | TCA_DEF_PARMS, | 13 | TCA_DEF_PARMS, |
| 14 | TCA_DEF_DATA, | 14 | TCA_DEF_DATA, |
| 15 | TCA_DEF_PAD, | ||
| 15 | __TCA_DEF_MAX | 16 | __TCA_DEF_MAX |
| 16 | }; | 17 | }; |
| 17 | #define TCA_DEF_MAX (__TCA_DEF_MAX - 1) | 18 | #define TCA_DEF_MAX (__TCA_DEF_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_gact.h b/include/uapi/linux/tc_act/tc_gact.h index f7bf94eed510..70b536a8f8b2 100644 --- a/include/uapi/linux/tc_act/tc_gact.h +++ b/include/uapi/linux/tc_act/tc_gact.h | |||
| @@ -25,6 +25,7 @@ enum { | |||
| 25 | TCA_GACT_TM, | 25 | TCA_GACT_TM, |
| 26 | TCA_GACT_PARMS, | 26 | TCA_GACT_PARMS, |
| 27 | TCA_GACT_PROB, | 27 | TCA_GACT_PROB, |
| 28 | TCA_GACT_PAD, | ||
| 28 | __TCA_GACT_MAX | 29 | __TCA_GACT_MAX |
| 29 | }; | 30 | }; |
| 30 | #define TCA_GACT_MAX (__TCA_GACT_MAX - 1) | 31 | #define TCA_GACT_MAX (__TCA_GACT_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_ife.h b/include/uapi/linux/tc_act/tc_ife.h index d648ff66586f..4ece02a77b9a 100644 --- a/include/uapi/linux/tc_act/tc_ife.h +++ b/include/uapi/linux/tc_act/tc_ife.h | |||
| @@ -23,6 +23,7 @@ enum { | |||
| 23 | TCA_IFE_SMAC, | 23 | TCA_IFE_SMAC, |
| 24 | TCA_IFE_TYPE, | 24 | TCA_IFE_TYPE, |
| 25 | TCA_IFE_METALST, | 25 | TCA_IFE_METALST, |
| 26 | TCA_IFE_PAD, | ||
| 26 | __TCA_IFE_MAX | 27 | __TCA_IFE_MAX |
| 27 | }; | 28 | }; |
| 28 | #define TCA_IFE_MAX (__TCA_IFE_MAX - 1) | 29 | #define TCA_IFE_MAX (__TCA_IFE_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_ipt.h b/include/uapi/linux/tc_act/tc_ipt.h index 130aaadf6fac..7c6e155dd981 100644 --- a/include/uapi/linux/tc_act/tc_ipt.h +++ b/include/uapi/linux/tc_act/tc_ipt.h | |||
| @@ -14,6 +14,7 @@ enum { | |||
| 14 | TCA_IPT_CNT, | 14 | TCA_IPT_CNT, |
| 15 | TCA_IPT_TM, | 15 | TCA_IPT_TM, |
| 16 | TCA_IPT_TARG, | 16 | TCA_IPT_TARG, |
| 17 | TCA_IPT_PAD, | ||
| 17 | __TCA_IPT_MAX | 18 | __TCA_IPT_MAX |
| 18 | }; | 19 | }; |
| 19 | #define TCA_IPT_MAX (__TCA_IPT_MAX - 1) | 20 | #define TCA_IPT_MAX (__TCA_IPT_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_mirred.h b/include/uapi/linux/tc_act/tc_mirred.h index 7561750e8fd6..3d7a2b352a62 100644 --- a/include/uapi/linux/tc_act/tc_mirred.h +++ b/include/uapi/linux/tc_act/tc_mirred.h | |||
| @@ -20,6 +20,7 @@ enum { | |||
| 20 | TCA_MIRRED_UNSPEC, | 20 | TCA_MIRRED_UNSPEC, |
| 21 | TCA_MIRRED_TM, | 21 | TCA_MIRRED_TM, |
| 22 | TCA_MIRRED_PARMS, | 22 | TCA_MIRRED_PARMS, |
| 23 | TCA_MIRRED_PAD, | ||
| 23 | __TCA_MIRRED_MAX | 24 | __TCA_MIRRED_MAX |
| 24 | }; | 25 | }; |
| 25 | #define TCA_MIRRED_MAX (__TCA_MIRRED_MAX - 1) | 26 | #define TCA_MIRRED_MAX (__TCA_MIRRED_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_nat.h b/include/uapi/linux/tc_act/tc_nat.h index 6663aeba0b9a..923457c9ebf0 100644 --- a/include/uapi/linux/tc_act/tc_nat.h +++ b/include/uapi/linux/tc_act/tc_nat.h | |||
| @@ -10,6 +10,7 @@ enum { | |||
| 10 | TCA_NAT_UNSPEC, | 10 | TCA_NAT_UNSPEC, |
| 11 | TCA_NAT_PARMS, | 11 | TCA_NAT_PARMS, |
| 12 | TCA_NAT_TM, | 12 | TCA_NAT_TM, |
| 13 | TCA_NAT_PAD, | ||
| 13 | __TCA_NAT_MAX | 14 | __TCA_NAT_MAX |
| 14 | }; | 15 | }; |
| 15 | #define TCA_NAT_MAX (__TCA_NAT_MAX - 1) | 16 | #define TCA_NAT_MAX (__TCA_NAT_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_pedit.h b/include/uapi/linux/tc_act/tc_pedit.h index 716cfabcd5b2..6389959a5157 100644 --- a/include/uapi/linux/tc_act/tc_pedit.h +++ b/include/uapi/linux/tc_act/tc_pedit.h | |||
| @@ -10,6 +10,7 @@ enum { | |||
| 10 | TCA_PEDIT_UNSPEC, | 10 | TCA_PEDIT_UNSPEC, |
| 11 | TCA_PEDIT_TM, | 11 | TCA_PEDIT_TM, |
| 12 | TCA_PEDIT_PARMS, | 12 | TCA_PEDIT_PARMS, |
| 13 | TCA_PEDIT_PAD, | ||
| 13 | __TCA_PEDIT_MAX | 14 | __TCA_PEDIT_MAX |
| 14 | }; | 15 | }; |
| 15 | #define TCA_PEDIT_MAX (__TCA_PEDIT_MAX - 1) | 16 | #define TCA_PEDIT_MAX (__TCA_PEDIT_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_skbedit.h b/include/uapi/linux/tc_act/tc_skbedit.h index 7a2e910a5f08..fecb5cc48c40 100644 --- a/include/uapi/linux/tc_act/tc_skbedit.h +++ b/include/uapi/linux/tc_act/tc_skbedit.h | |||
| @@ -39,6 +39,7 @@ enum { | |||
| 39 | TCA_SKBEDIT_PRIORITY, | 39 | TCA_SKBEDIT_PRIORITY, |
| 40 | TCA_SKBEDIT_QUEUE_MAPPING, | 40 | TCA_SKBEDIT_QUEUE_MAPPING, |
| 41 | TCA_SKBEDIT_MARK, | 41 | TCA_SKBEDIT_MARK, |
| 42 | TCA_SKBEDIT_PAD, | ||
| 42 | __TCA_SKBEDIT_MAX | 43 | __TCA_SKBEDIT_MAX |
| 43 | }; | 44 | }; |
| 44 | #define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1) | 45 | #define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1) |
diff --git a/include/uapi/linux/tc_act/tc_vlan.h b/include/uapi/linux/tc_act/tc_vlan.h index f7b8d448b960..31151ff6264f 100644 --- a/include/uapi/linux/tc_act/tc_vlan.h +++ b/include/uapi/linux/tc_act/tc_vlan.h | |||
| @@ -28,6 +28,7 @@ enum { | |||
| 28 | TCA_VLAN_PARMS, | 28 | TCA_VLAN_PARMS, |
| 29 | TCA_VLAN_PUSH_VLAN_ID, | 29 | TCA_VLAN_PUSH_VLAN_ID, |
| 30 | TCA_VLAN_PUSH_VLAN_PROTOCOL, | 30 | TCA_VLAN_PUSH_VLAN_PROTOCOL, |
| 31 | TCA_VLAN_PAD, | ||
| 31 | __TCA_VLAN_MAX, | 32 | __TCA_VLAN_MAX, |
| 32 | }; | 33 | }; |
| 33 | #define TCA_VLAN_MAX (__TCA_VLAN_MAX - 1) | 34 | #define TCA_VLAN_MAX (__TCA_VLAN_MAX - 1) |
