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/link.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/link.c')
-rw-r--r-- | net/tipc/link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c index aa79bf8ac0aa..f8bf63befe1f 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c | |||
@@ -732,7 +732,7 @@ static void link_profile_stats(struct tipc_link *l) | |||
732 | if (msg_user(msg) == MSG_FRAGMENTER) { | 732 | if (msg_user(msg) == MSG_FRAGMENTER) { |
733 | if (msg_type(msg) != FIRST_FRAGMENT) | 733 | if (msg_type(msg) != FIRST_FRAGMENT) |
734 | return; | 734 | return; |
735 | length = msg_size(msg_get_wrapped(msg)); | 735 | length = msg_size(msg_inner_hdr(msg)); |
736 | } | 736 | } |
737 | l->stats.msg_lengths_total += length; | 737 | l->stats.msg_lengths_total += length; |
738 | l->stats.msg_length_counts++; | 738 | l->stats.msg_length_counts++; |