Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/usb/asix_common.c net/ipv4/inet_connection_sock.c net/switchdev/switchdev.c In the inet_connection_sock.c case the request socket hashing scheme is completely different in net-next. The other two conflicts were overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
+5
-3
@@ -312,7 +312,7 @@ static void arp_send_dst(int type, int ptype, __be32 dest_ip,
|
||||
if (!skb)
|
||||
return;
|
||||
|
||||
skb_dst_set(skb, dst);
|
||||
skb_dst_set(skb, dst_clone(dst));
|
||||
arp_xmit(skb);
|
||||
}
|
||||
|
||||
@@ -384,7 +384,7 @@ static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb)
|
||||
}
|
||||
|
||||
if (skb && !(dev->priv_flags & IFF_XMIT_DST_RELEASE))
|
||||
dst = dst_clone(skb_dst(skb));
|
||||
dst = skb_dst(skb);
|
||||
arp_send_dst(ARPOP_REQUEST, ETH_P_ARP, target, dev, saddr,
|
||||
dst_hw, dev->dev_addr, NULL, dst);
|
||||
}
|
||||
@@ -816,7 +816,7 @@ static int arp_process(struct net *net, struct sock *sk, struct sk_buff *skb)
|
||||
} else {
|
||||
pneigh_enqueue(&arp_tbl,
|
||||
in_dev->arp_parms, skb);
|
||||
return 0;
|
||||
goto out_free_dst;
|
||||
}
|
||||
goto out;
|
||||
}
|
||||
@@ -870,6 +870,8 @@ static int arp_process(struct net *net, struct sock *sk, struct sk_buff *skb)
|
||||
|
||||
out:
|
||||
consume_skb(skb);
|
||||
out_free_dst:
|
||||
dst_release(reply_dst);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user