Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Overlapping changes in drivers/net/phy/marvell.c, bug fix in 'net' restricting a HW workaround alongside cleanups in 'net-next'. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -3231,8 +3231,11 @@ static int rtnl_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb)
|
||||
int err = 0;
|
||||
int fidx = 0;
|
||||
|
||||
if (nlmsg_parse(cb->nlh, sizeof(struct ifinfomsg), tb,
|
||||
IFLA_MAX, ifla_policy, NULL) == 0) {
|
||||
err = nlmsg_parse(cb->nlh, sizeof(struct ifinfomsg), tb,
|
||||
IFLA_MAX, ifla_policy, NULL);
|
||||
if (err < 0) {
|
||||
return -EINVAL;
|
||||
} else if (err == 0) {
|
||||
if (tb[IFLA_MASTER])
|
||||
br_idx = nla_get_u32(tb[IFLA_MASTER]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user