]> Git Repo - linux.git/commit - net/tipc/msg.h
tipc: move message validation function to msg.c
authorJon Paul Maloy <[email protected]>
Fri, 13 Mar 2015 20:08:06 +0000 (16:08 -0400)
committerDavid S. Miller <[email protected]>
Sat, 14 Mar 2015 18:38:32 +0000 (14:38 -0400)
commitcf2157f88a5abf1a64b8c51a737a35e918dc67e5
tree8896dd853ffa7676faeba4423d494a17fba67db1
parent7764d6e83d2c3b50d9282f12144ebb10418c056e
tipc: move message validation function to msg.c

The function link_buf_validate() is in reality re-entrant and context
independent, and will in later commits be called from several locations.
Therefore, we move it to msg.c, make it outline and rename the it to
tipc_msg_validate().

We also redesign the function to make proper use of pskb_may_pull()

Signed-off-by: Jon Maloy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/tipc/link.c
net/tipc/msg.c
net/tipc/msg.h
This page took 0.051517 seconds and 4 git commands to generate.