commit | cf2157f88a5abf1a64b8c51a737a35e918dc67e5 | [log] [tgz] |
---|---|---|
author | Jon Paul Maloy <jon.maloy@ericsson.com> | Fri Mar 13 16:08:06 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 14 14:38:32 2015 -0400 |
tree | 8896dd853ffa7676faeba4423d494a17fba67db1 | |
parent | 7764d6e83d2c3b50d9282f12144ebb10418c056e [diff] |
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 <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>