Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c net/ipv6/ip6_tunnel.c net/ipv6/ip6_vti.c ipv6 tunnel statistic bug fixes conflicting with consolidation into generic sw per-cpu net stats. qlogic conflict between queue counting bug fix and the addition of multiple MAC address support. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
+5
-5
@@ -64,15 +64,15 @@ static int tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est,
|
||||
&nat_idx_gen, &nat_hash_info);
|
||||
if (IS_ERR(pc))
|
||||
return PTR_ERR(pc);
|
||||
p = to_tcf_nat(pc);
|
||||
ret = ACT_P_CREATED;
|
||||
} else {
|
||||
p = to_tcf_nat(pc);
|
||||
if (!ovr) {
|
||||
tcf_hash_release(pc, bind, &nat_hash_info);
|
||||
if (bind)
|
||||
return 0;
|
||||
tcf_hash_release(pc, bind, &nat_hash_info);
|
||||
if (!ovr)
|
||||
return -EEXIST;
|
||||
}
|
||||
}
|
||||
p = to_tcf_nat(pc);
|
||||
|
||||
spin_lock_bh(&p->tcf_lock);
|
||||
p->old_addr = parm->old_addr;
|
||||
|
||||
Reference in New Issue
Block a user