tipc: split UDP send function
authorRichard Alpe <richard.alpe@ericsson.com>
Fri, 26 Aug 2016 08:52:51 +0000 (10:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Aug 2016 04:38:40 +0000 (21:38 -0700)
commitce984da36e11c1e6db6002ea4f8a4b54e46f45c0
treed570de4ff75c81495b3e1dcc48bcf5f83b54d1a5
parentba5aa84a2d2243d56328e51497a6106dcdf67eef
tipc: split UDP send function

Split the UDP send function into two. One callback that prepares the
skb and one transmit function that sends the skb. This will come in
handy in later patches, when we introduce UDP replicast.

Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/udp_media.c