mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: net/ipv4/ip_gre.c Minor conflicts between tunnel bug fixes in net and ipv6 tunnel cleanups in net-next. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1469,6 +1469,7 @@ void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b)
|
||||
int bearer_id = b->identity;
|
||||
struct tipc_link_entry *le;
|
||||
u16 bc_ack = msg_bcast_ack(hdr);
|
||||
u32 self = tipc_own_addr(net);
|
||||
int rc = 0;
|
||||
|
||||
__skb_queue_head_init(&xmitq);
|
||||
@@ -1485,6 +1486,10 @@ void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b)
|
||||
return tipc_node_bc_rcv(net, skb, bearer_id);
|
||||
}
|
||||
|
||||
/* Discard unicast link messages destined for another node */
|
||||
if (unlikely(!msg_short(hdr) && (msg_destnode(hdr) != self)))
|
||||
goto discard;
|
||||
|
||||
/* Locate neighboring node that sent packet */
|
||||
n = tipc_node_find(net, msg_prevnode(hdr));
|
||||
if (unlikely(!n))
|
||||
|
||||
Reference in New Issue
Block a user