switch-linux/net/tipc
Jon Paul Maloy cf2157f88a 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>
2015-03-14 14:38:32 -04:00
..
addr.c
addr.h
bcast.c
bcast.h
bearer.c tipc: ensure that idle links are deleted when a bearer is disabled 2015-03-10 18:37:36 -04:00
bearer.h tipc: add ip/udp media type 2015-03-05 22:08:42 -05:00
core.c
core.h
discover.c tipc: add framework for node capabilities exchange 2015-03-14 14:38:32 -04:00
discover.h
eth_media.c
ib_media.c
Kconfig tipc: add ip/udp media type 2015-03-05 22:08:42 -05:00
link.c tipc: move message validation function to msg.c 2015-03-14 14:38:32 -04:00
link.h
Makefile tipc: add ip/udp media type 2015-03-05 22:08:42 -05:00
msg.c tipc: move message validation function to msg.c 2015-03-14 14:38:32 -04:00
msg.h tipc: move message validation function to msg.c 2015-03-14 14:38:32 -04:00
name_distr.c
name_distr.h
name_table.c
name_table.h
net.c
net.h
netlink.c
netlink.h
netlink_compat.c
node.c
node.h tipc: add framework for node capabilities exchange 2015-03-14 14:38:32 -04:00
server.c
server.h
socket.c tipc: fix inconsistent signal handling regression 2015-03-09 15:42:19 -04:00
socket.h
subscr.c
subscr.h
sysctl.c
udp_media.c tipc: sparse: fix htons conversion warnings 2015-03-09 15:37:04 -04:00