Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/chelsio/cxgb4vf/sge.c drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c sge.c was overlapping two changes, one to use the new __dev_alloc_page() in net-next, and one to use s->fl_pg_order in net. ixgbe_phy.c was a set of overlapping whitespace changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1440,7 +1440,7 @@ static void netlink_unbind(int group, long unsigned int groups,
|
||||
return;
|
||||
|
||||
for (undo = 0; undo < group; undo++)
|
||||
if (test_bit(group, &groups))
|
||||
if (test_bit(undo, &groups))
|
||||
nlk->netlink_unbind(undo);
|
||||
}
|
||||
|
||||
@@ -1492,7 +1492,7 @@ static int netlink_bind(struct socket *sock, struct sockaddr *addr,
|
||||
netlink_insert(sk, net, nladdr->nl_pid) :
|
||||
netlink_autobind(sock);
|
||||
if (err) {
|
||||
netlink_unbind(nlk->ngroups - 1, groups, nlk);
|
||||
netlink_unbind(nlk->ngroups, groups, nlk);
|
||||
return err;
|
||||
}
|
||||
}
|
||||
@@ -2509,6 +2509,7 @@ __netlink_kernel_create(struct net *net, int unit, struct module *module,
|
||||
nl_table[unit].module = module;
|
||||
if (cfg) {
|
||||
nl_table[unit].bind = cfg->bind;
|
||||
nl_table[unit].unbind = cfg->unbind;
|
||||
nl_table[unit].flags = cfg->flags;
|
||||
if (cfg->compare)
|
||||
nl_table[unit].compare = cfg->compare;
|
||||
|
Reference in New Issue
Block a user