summaryrefslogtreecommitdiffstats
path: root/kernel/net/tipc/name_distr.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/tipc/name_distr.c')
-rw-r--r--kernel/net/tipc/name_distr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/net/tipc/name_distr.c b/kernel/net/tipc/name_distr.c
index c07612bab..f51c8bdbe 100644
--- a/kernel/net/tipc/name_distr.c
+++ b/kernel/net/tipc/name_distr.c
@@ -397,6 +397,7 @@ void tipc_named_rcv(struct net *net, struct sk_buff_head *inputq)
spin_lock_bh(&tn->nametbl_lock);
for (skb = skb_dequeue(inputq); skb; skb = skb_dequeue(inputq)) {
+ skb_linearize(skb);
msg = buf_msg(skb);
mtype = msg_type(msg);
item = (struct distr_item *)msg_data(msg);