History

Merge 4.3-rc7 into staging-next

We want the other staging patches in this branch as well.

Greg Kroah-Hartman committed 11 years ago

Commit cf516d02 parents 047e664 32b8819359 files · +3012 −1577Browse files

Showing the changes to include/uapi (3 of 359 files). Show all

Unified · Split

3 files
  1. include/uapi/asm-generic/signal.h +2 −0
  2. include/uapi/linux/openvswitch.h +15 −21
  3. include/uapi/linux/rtnetlink.h +1 −1
include/uapi/asm-generic/signal.h+2−0
@@ -80,8 +80,10 @@ · 79 unmodified lines
8080 * SA_RESTORER 0x04000000
8181 */
8282
83+#if !defined MINSIGSTKSZ || !defined SIGSTKSZ
8384 #define MINSIGSTKSZ 2048
8485 #define SIGSTKSZ 8192
86+#endif
8587
8688 #ifndef __ASSEMBLY__
8789 typedef struct {
include/uapi/linux/openvswitch.h+15−21
@@ -323,10 +323,10 @@ enum ovs_key_attr { · 322 unmodified lines
323323 OVS_KEY_ATTR_MPLS, /* array of struct ovs_key_mpls.
324324 * The implementation may restrict
325325 * the accepted length of the array. */
326− OVS_KEY_ATTR_CT_STATE, /* u8 bitmask of OVS_CS_F_* */
326+ OVS_KEY_ATTR_CT_STATE, /* u32 bitmask of OVS_CS_F_* */
327327 OVS_KEY_ATTR_CT_ZONE, /* u16 connection tracking zone. */
328328 OVS_KEY_ATTR_CT_MARK, /* u32 connection tracking mark */
329− OVS_KEY_ATTR_CT_LABEL, /* 16-octet connection tracking label */
329+ OVS_KEY_ATTR_CT_LABELS, /* 16-octet connection tracking label */
330330
331331 #ifdef __KERNEL__
332332 OVS_KEY_ATTR_TUNNEL_INFO, /* struct ip_tunnel_info */
@@ -439,9 +439,9 @@ struct ovs_key_nd { · 106 unmodified lines
439439 __u8 nd_tll[ETH_ALEN];
440440 };
441441
442−#define OVS_CT_LABEL_LEN 16
443−struct ovs_key_ct_label {
444− __u8 ct_label[OVS_CT_LABEL_LEN];
442+#define OVS_CT_LABELS_LEN 16
443+struct ovs_key_ct_labels {
444+ __u8 ct_labels[OVS_CT_LABELS_LEN];
445445 };
446446
447447 /* OVS_KEY_ATTR_CT_STATE flags */
@@ -449,9 +449,9 @@ struct ovs_key_ct_label { · 1 unmodified line
449449 #define OVS_CS_F_ESTABLISHED 0x02 /* Part of an existing connection. */
450450 #define OVS_CS_F_RELATED 0x04 /* Related to an established
451451 * connection. */
452−#define OVS_CS_F_INVALID 0x20 /* Could not track connection. */
453−#define OVS_CS_F_REPLY_DIR 0x40 /* Flow is in the reply direction. */
454−#define OVS_CS_F_TRACKED 0x80 /* Conntrack has occurred. */
452+#define OVS_CS_F_REPLY_DIR 0x08 /* Flow is in the reply direction. */
453+#define OVS_CS_F_INVALID 0x10 /* Could not track connection. */
454+#define OVS_CS_F_TRACKED 0x20 /* Conntrack has occurred. */
455455
456456 /**
457457 * enum ovs_flow_attr - attributes for %OVS_FLOW_* commands.
@@ -618,22 +618,24 @@ struct ovs_action_hash { · 160 unmodified lines
618618
619619 /**
620620 * enum ovs_ct_attr - Attributes for %OVS_ACTION_ATTR_CT action.
621− * @OVS_CT_ATTR_FLAGS: u32 connection tracking flags.
621+ * @OVS_CT_ATTR_COMMIT: If present, commits the connection to the conntrack
622+ * table. This allows future packets for the same connection to be identified
623+ * as 'established' or 'related'.
622624 * @OVS_CT_ATTR_ZONE: u16 connection tracking zone.
623625 * @OVS_CT_ATTR_MARK: u32 value followed by u32 mask. For each bit set in the
624626 * mask, the corresponding bit in the value is copied to the connection
625627 * tracking mark field in the connection.
626− * @OVS_CT_ATTR_LABEL: %OVS_CT_LABEL_LEN value followed by %OVS_CT_LABEL_LEN
628+ * @OVS_CT_ATTR_LABEL: %OVS_CT_LABELS_LEN value followed by %OVS_CT_LABELS_LEN
627629 * mask. For each bit set in the mask, the corresponding bit in the value is
628630 * copied to the connection tracking label field in the connection.
629631 * @OVS_CT_ATTR_HELPER: variable length string defining conntrack ALG.
630632 */
631633 enum ovs_ct_attr {
632634 OVS_CT_ATTR_UNSPEC,
633− OVS_CT_ATTR_FLAGS, /* u8 bitmask of OVS_CT_F_*. */
635+ OVS_CT_ATTR_COMMIT, /* No argument, commits connection. */
634636 OVS_CT_ATTR_ZONE, /* u16 zone id. */
635637 OVS_CT_ATTR_MARK, /* mark to associate with this connection. */
636− OVS_CT_ATTR_LABEL, /* label to associate with this connection. */
638+ OVS_CT_ATTR_LABELS, /* labels to associate with this connection. */
637639 OVS_CT_ATTR_HELPER, /* netlink helper to assist detection of
638640 related connections. */
639641 __OVS_CT_ATTR_MAX
@@ -641,14 +643,6 @@ enum ovs_ct_attr { · 1 unmodified line
641643
642644 #define OVS_CT_ATTR_MAX (__OVS_CT_ATTR_MAX - 1)
643645
644−/*
645− * OVS_CT_ATTR_FLAGS flags - bitmask of %OVS_CT_F_*
646− * @OVS_CT_F_COMMIT: Commits the flow to the conntrack table. This allows
647− * future packets for the same connection to be identified as 'established'
648− * or 'related'.
649− */
650−#define OVS_CT_F_COMMIT 0x01
651−
652646 /**
653647 * enum ovs_action_attr - Action types.
654648 *
@@ -705,7 +699,7 @@ enum ovs_action_attr { · 50 unmodified lines
705699 * data immediately followed by a mask.
706700 * The data must be zero for the unmasked
707701 * bits. */
708− OVS_ACTION_ATTR_CT, /* One nested OVS_CT_ATTR_* . */
702+ OVS_ACTION_ATTR_CT, /* Nested OVS_CT_ATTR_* . */
709703
710704 __OVS_ACTION_ATTR_MAX, /* Nothing past this will be accepted
711705 * from userspace. */
include/uapi/linux/rtnetlink.h+1−1
@@ -160,7 +160,7 @@ struct rtattr { · 159 unmodified lines
160160
161161 /* Macros to handle rtattributes */
162162
163−#define RTA_ALIGNTO 4
163+#define RTA_ALIGNTO 4U
164164 #define RTA_ALIGN(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
165165 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \
166166 (rta)->rta_len >= sizeof(struct rtattr) && \