]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: remove iovec length parameter from all sending functions
authorYing Xue <ying.xue@windriver.com>
Fri, 18 Oct 2013 05:23:15 +0000 (07:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 17:20:42 +0000 (13:20 -0400)
commitc2fdeaec41e92257b808447161f8233f64152a1f
treee87770cf1526e863e68feedac896e2133d79f607
parentb7a899e048153827817e7fa30be2902b51b9c9bb
tipc: remove iovec length parameter from all sending functions

tipc_msg_build() now copies message data from iovec to skb_buff
using memcpy_fromiovecend(), which doesn't need to be passed the
iovec length to perform the copying.

So we remove the parameter indicating iovec length in all
functions where TIPC messages are built and sent.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c
net/tipc/link.h
net/tipc/msg.c
net/tipc/msg.h
net/tipc/port.c
net/tipc/port.h
net/tipc/socket.c