projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tipc: move linearization of buffers to generic code
[cascardo/linux.git]
/
net
/
tipc
/
link.c
diff --git
a/net/tipc/link.c
b/net/tipc/link.c
index
9efbdbd
..
fa452fb
100644
(file)
--- a/
net/tipc/link.c
+++ b/
net/tipc/link.c
@@
-1260,6
+1260,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;