Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
The mptcp conflict was overlapping additions. The SMC conflict was an additional and removal happening at the same time. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -305,7 +305,8 @@ nla_put_failure:
|
||||
static const struct nla_policy bitset_policy[ETHTOOL_A_BITSET_MAX + 1] = {
|
||||
[ETHTOOL_A_BITSET_UNSPEC] = { .type = NLA_REJECT },
|
||||
[ETHTOOL_A_BITSET_NOMASK] = { .type = NLA_FLAG },
|
||||
[ETHTOOL_A_BITSET_SIZE] = { .type = NLA_U32 },
|
||||
[ETHTOOL_A_BITSET_SIZE] = NLA_POLICY_MAX(NLA_U32,
|
||||
ETHNL_MAX_BITSET_SIZE),
|
||||
[ETHTOOL_A_BITSET_BITS] = { .type = NLA_NESTED },
|
||||
[ETHTOOL_A_BITSET_VALUE] = { .type = NLA_BINARY },
|
||||
[ETHTOOL_A_BITSET_MASK] = { .type = NLA_BINARY },
|
||||
|
@@ -3,6 +3,8 @@
|
||||
#ifndef _NET_ETHTOOL_BITSET_H
|
||||
#define _NET_ETHTOOL_BITSET_H
|
||||
|
||||
#define ETHNL_MAX_BITSET_SIZE S16_MAX
|
||||
|
||||
typedef const char (*const ethnl_string_array_t)[ETH_GSTRING_LEN];
|
||||
|
||||
int ethnl_bitset_is_compact(const struct nlattr *bitset, bool *compact);
|
||||
|
Reference in New Issue
Block a user