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>
This commit is contained in:
committed by
David S. Miller
parent
20c6731294
commit
a7dc51adca
@@ -323,7 +323,7 @@ static int tipc_mcast_send_sync(struct net *net, struct sk_buff *skb,
|
||||
|
||||
hdr = buf_msg(skb);
|
||||
if (msg_user(hdr) == MSG_FRAGMENTER)
|
||||
hdr = msg_get_wrapped(hdr);
|
||||
hdr = msg_inner_hdr(hdr);
|
||||
if (msg_type(hdr) != TIPC_MCAST_MSG)
|
||||
return 0;
|
||||
|
||||
@@ -392,7 +392,7 @@ int tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts,
|
||||
skb = skb_peek(pkts);
|
||||
hdr = buf_msg(skb);
|
||||
if (msg_user(hdr) == MSG_FRAGMENTER)
|
||||
hdr = msg_get_wrapped(hdr);
|
||||
hdr = msg_inner_hdr(hdr);
|
||||
msg_set_is_rcast(hdr, method->rcast);
|
||||
|
||||
/* Switch method ? */
|
||||
|
||||
Reference in New Issue
Block a user