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
@@ -732,7 +732,7 @@ static void link_profile_stats(struct tipc_link *l)
|
||||
if (msg_user(msg) == MSG_FRAGMENTER) {
|
||||
if (msg_type(msg) != FIRST_FRAGMENT)
|
||||
return;
|
||||
length = msg_size(msg_get_wrapped(msg));
|
||||
length = msg_size(msg_inner_hdr(msg));
|
||||
}
|
||||
l->stats.msg_lengths_total += length;
|
||||
l->stats.msg_length_counts++;
|
||||
|
Reference in New Issue
Block a user