]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Update kernel headers based on 4.14-rc7
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 31 Oct 2017 17:01:51 +0000 (18:01 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 31 Oct 2017 17:01:51 +0000 (18:01 +0100)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/bpf.h
include/uapi/linux/sctp.h

index 0895a529cc90b7e52b7371c1acacf6add71a0edf..e6d520bd1cd527af8596dd9df515ea993eee800f 100644 (file)
@@ -312,7 +312,7 @@ union bpf_attr {
  *     jump into another BPF program
  *     @ctx: context pointer passed to next program
  *     @prog_array_map: pointer to map which type is BPF_MAP_TYPE_PROG_ARRAY
- *     @index: index inside array that selects specific program to run
+ *     @index: 32-bit index inside array that selects specific program to run
  *     Return: 0 on success or negative error
  *
  * int bpf_clone_redirect(skb, ifindex, flags)
@@ -575,7 +575,7 @@ union bpf_attr {
  *     @map: pointer to sockmap
  *     @key: key to lookup sock in map
  *     @flags: reserved for future use
- *     Return: SK_REDIRECT
+ *     Return: SK_PASS
  *
  * int bpf_sock_map_update(skops, map, key, flags)
  *     @skops: pointer to bpf_sock_ops
@@ -786,8 +786,8 @@ struct xdp_md {
 };
 
 enum sk_action {
-       SK_ABORTED = 0,
-       SK_DROP,
+       SK_DROP = 0,
+       SK_PASS,
        SK_REDIRECT,
 };
 
index fec24c41405b967c08f79545f7d7c2cc415d74bd..39922b7a6e788727257d79796a3f68bc27390a9f 100644 (file)
@@ -376,7 +376,7 @@ struct sctp_remote_error {
        __u16 sre_type;
        __u16 sre_flags;
        __u32 sre_length;
-       __u16 sre_error;
+       __be16 sre_error;
        sctp_assoc_t sre_assoc_id;
        __u8 sre_data[0];
 };