diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index b5af49d3..c819b225 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h @@ -645,7 +645,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 @@ -887,8 +887,8 @@ struct xdp_md { }; enum sk_action { - SK_ABORTED = 0, - SK_DROP, + SK_DROP = 0, + SK_PASS, SK_REDIRECT, }; diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index 22b1fed2..a3dc7e3d 100644 --- a/include/uapi/linux/sctp.h +++ b/include/uapi/linux/sctp.h @@ -378,7 +378,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]; }; diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index 153665ca..a2b006a8 100644 --- a/man/man8/ip-link.8.in +++ b/man/man8/ip-link.8.in @@ -250,6 +250,7 @@ Link types: .sp .B bond - Bonding device +.sp .B can - Controller Area Network interface .sp diff --git a/tc/m_ife.c b/tc/m_ife.c index 5633ab90..8d0fd31f 100644 --- a/tc/m_ife.c +++ b/tc/m_ife.c @@ -93,7 +93,7 @@ static int parse_ife(struct action_util *a, int *argc_p, char ***argv_p, } else if (matches(*argv, "prio") == 0) { ife_prio = IFE_META_PRIO; } else if (matches(*argv, "tcindex") == 0) { - ife_prio = IFE_META_TCINDEX; + ife_tcindex = IFE_META_TCINDEX; } else { fprintf(stderr, "Illegal meta define <%s>\n", *argv);