Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c Minor conflict between the BCM_CNIC define removal in net-next and a bug fix added to net. Based upon a conflict resolution patch posted by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1633,9 +1633,9 @@ static size_t ip6gre_get_size(const struct net_device *dev)
|
||||
/* IFLA_GRE_OKEY */
|
||||
nla_total_size(4) +
|
||||
/* IFLA_GRE_LOCAL */
|
||||
nla_total_size(4) +
|
||||
nla_total_size(sizeof(struct in6_addr)) +
|
||||
/* IFLA_GRE_REMOTE */
|
||||
nla_total_size(4) +
|
||||
nla_total_size(sizeof(struct in6_addr)) +
|
||||
/* IFLA_GRE_TTL */
|
||||
nla_total_size(1) +
|
||||
/* IFLA_GRE_TOS */
|
||||
@@ -1659,8 +1659,8 @@ static int ip6gre_fill_info(struct sk_buff *skb, const struct net_device *dev)
|
||||
nla_put_be16(skb, IFLA_GRE_OFLAGS, p->o_flags) ||
|
||||
nla_put_be32(skb, IFLA_GRE_IKEY, p->i_key) ||
|
||||
nla_put_be32(skb, IFLA_GRE_OKEY, p->o_key) ||
|
||||
nla_put(skb, IFLA_GRE_LOCAL, sizeof(struct in6_addr), &p->raddr) ||
|
||||
nla_put(skb, IFLA_GRE_REMOTE, sizeof(struct in6_addr), &p->laddr) ||
|
||||
nla_put(skb, IFLA_GRE_LOCAL, sizeof(struct in6_addr), &p->laddr) ||
|
||||
nla_put(skb, IFLA_GRE_REMOTE, sizeof(struct in6_addr), &p->raddr) ||
|
||||
nla_put_u8(skb, IFLA_GRE_TTL, p->hop_limit) ||
|
||||
/*nla_put_u8(skb, IFLA_GRE_TOS, t->priority) ||*/
|
||||
nla_put_u8(skb, IFLA_GRE_ENCAP_LIMIT, p->encap_limit) ||
|
||||
|
@@ -535,7 +535,7 @@ static void ndisc_send_unsol_na(struct net_device *dev)
|
||||
{
|
||||
struct inet6_dev *idev;
|
||||
struct inet6_ifaddr *ifa;
|
||||
struct in6_addr mcaddr;
|
||||
struct in6_addr mcaddr = IN6ADDR_LINKLOCAL_ALLNODES_INIT;
|
||||
|
||||
idev = in6_dev_get(dev);
|
||||
if (!idev)
|
||||
@@ -543,7 +543,6 @@ static void ndisc_send_unsol_na(struct net_device *dev)
|
||||
|
||||
read_lock_bh(&idev->lock);
|
||||
list_for_each_entry(ifa, &idev->addr_list, if_list) {
|
||||
addrconf_addr_solict_mult(&ifa->addr, &mcaddr);
|
||||
ndisc_send_na(dev, NULL, &mcaddr, &ifa->addr,
|
||||
/*router=*/ !!idev->cnf.forwarding,
|
||||
/*solicited=*/ false, /*override=*/ true,
|
||||
|
@@ -186,7 +186,8 @@ nf_nat_ipv6_out(unsigned int hooknum,
|
||||
|
||||
if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3,
|
||||
&ct->tuplehash[!dir].tuple.dst.u3) ||
|
||||
(ct->tuplehash[dir].tuple.src.u.all !=
|
||||
(ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMPV6 &&
|
||||
ct->tuplehash[dir].tuple.src.u.all !=
|
||||
ct->tuplehash[!dir].tuple.dst.u.all))
|
||||
if (nf_xfrm_me_harder(skb, AF_INET6) < 0)
|
||||
ret = NF_DROP;
|
||||
@@ -222,6 +223,7 @@ nf_nat_ipv6_local_fn(unsigned int hooknum,
|
||||
}
|
||||
#ifdef CONFIG_XFRM
|
||||
else if (!(IP6CB(skb)->flags & IP6SKB_XFRM_TRANSFORMED) &&
|
||||
ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMPV6 &&
|
||||
ct->tuplehash[dir].tuple.dst.u.all !=
|
||||
ct->tuplehash[!dir].tuple.src.u.all)
|
||||
if (nf_xfrm_me_harder(skb, AF_INET6))
|
||||
|
@@ -85,7 +85,7 @@ static struct ctl_table nf_ct_frag6_sysctl_table[] = {
|
||||
{ }
|
||||
};
|
||||
|
||||
static int __net_init nf_ct_frag6_sysctl_register(struct net *net)
|
||||
static int nf_ct_frag6_sysctl_register(struct net *net)
|
||||
{
|
||||
struct ctl_table *table;
|
||||
struct ctl_table_header *hdr;
|
||||
@@ -127,7 +127,7 @@ static void __net_exit nf_ct_frags6_sysctl_unregister(struct net *net)
|
||||
}
|
||||
|
||||
#else
|
||||
static int __net_init nf_ct_frag6_sysctl_register(struct net *net)
|
||||
static int nf_ct_frag6_sysctl_register(struct net *net)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@@ -220,7 +220,7 @@ static struct dst_ops ip6_dst_blackhole_ops = {
|
||||
};
|
||||
|
||||
static const u32 ip6_template_metrics[RTAX_MAX] = {
|
||||
[RTAX_HOPLIMIT - 1] = 255,
|
||||
[RTAX_HOPLIMIT - 1] = 0,
|
||||
};
|
||||
|
||||
static const struct rt6_info ip6_null_entry_template = {
|
||||
@@ -1287,7 +1287,7 @@ struct dst_entry *icmp6_dst_alloc(struct net_device *dev,
|
||||
rt->rt6i_dst.addr = fl6->daddr;
|
||||
rt->rt6i_dst.plen = 128;
|
||||
rt->rt6i_idev = idev;
|
||||
dst_metric_set(&rt->dst, RTAX_HOPLIMIT, 255);
|
||||
dst_metric_set(&rt->dst, RTAX_HOPLIMIT, 0);
|
||||
|
||||
spin_lock_bh(&icmp6_dst_lock);
|
||||
rt->dst.next = icmp6_dst_gc_list;
|
||||
|
Reference in New Issue
Block a user