summaryrefslogtreecommitdiffstats
path: root/kernel/net/tipc/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/tipc/link.c')
-rw-r--r--kernel/net/tipc/link.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/net/tipc/link.c b/kernel/net/tipc/link.c
index 91aea071a..72268eac4 100644
--- a/kernel/net/tipc/link.c
+++ b/kernel/net/tipc/link.c
@@ -1262,6 +1262,8 @@ static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb,
/* fall thru' */
case ACTIVATE_MSG:
+ skb_linearize(skb);
+ hdr = buf_msg(skb);
/* Complete own link name with peer's interface name */
if_name = strrchr(l->name, ':') + 1;