aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/bcast.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c
index 76e14dc08bb9..6c997d4a6218 100644
--- a/net/tipc/bcast.c
+++ b/net/tipc/bcast.c
@@ -769,6 +769,9 @@ void tipc_mcast_filter_msg(struct net *net, struct sk_buff_head *defq,
769 u32 node, port; 769 u32 node, port;
770 770
771 skb = skb_peek(inputq); 771 skb = skb_peek(inputq);
772 if (!skb)
773 return;
774
772 hdr = buf_msg(skb); 775 hdr = buf_msg(skb);
773 776
774 if (likely(!msg_is_syn(hdr) && skb_queue_empty(defq))) 777 if (likely(!msg_is_syn(hdr) && skb_queue_empty(defq)))