diff options
author | Jon Maloy <jon.maloy@ericsson.com> | 2019-06-25 13:37:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-25 16:42:54 -0400 |
commit | a7dc51adcafe00406d0fb6cc5be3b65b8fc52004 (patch) | |
tree | 1215dfd76250d1463a14f5812ac454aeb04f864d /net/tipc/bcast.c | |
parent | 20c67312946dd0e152f6c65d6fa93c1b0eedcd80 (diff) |
tipc: rename function msg_get_wrapped() to msg_inner_hdr()
We rename the inline function msg_get_wrapped() to the more
comprehensible msg_inner_hdr().
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/bcast.c')
-rw-r--r-- | net/tipc/bcast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index 6c997d4a6218..1336f3cdad38 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c | |||
@@ -323,7 +323,7 @@ static int tipc_mcast_send_sync(struct net *net, struct sk_buff *skb, | |||
323 | 323 | ||
324 | hdr = buf_msg(skb); | 324 | hdr = buf_msg(skb); |
325 | if (msg_user(hdr) == MSG_FRAGMENTER) | 325 | if (msg_user(hdr) == MSG_FRAGMENTER) |
326 | hdr = msg_get_wrapped(hdr); | 326 | hdr = msg_inner_hdr(hdr); |
327 | if (msg_type(hdr) != TIPC_MCAST_MSG) | 327 | if (msg_type(hdr) != TIPC_MCAST_MSG) |
328 | return 0; | 328 | return 0; |
329 | 329 | ||
@@ -392,7 +392,7 @@ int tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts, | |||
392 | skb = skb_peek(pkts); | 392 | skb = skb_peek(pkts); |
393 | hdr = buf_msg(skb); | 393 | hdr = buf_msg(skb); |
394 | if (msg_user(hdr) == MSG_FRAGMENTER) | 394 | if (msg_user(hdr) == MSG_FRAGMENTER) |
395 | hdr = msg_get_wrapped(hdr); | 395 | hdr = msg_inner_hdr(hdr); |
396 | msg_set_is_rcast(hdr, method->rcast); | 396 | msg_set_is_rcast(hdr, method->rcast); |
397 | 397 | ||
398 | /* Switch method ? */ | 398 | /* Switch method ? */ |