summaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorJon Maloy <jon.maloy@ericsson.com>2019-06-25 19:37:00 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-25 13:42:54 -0700
commita7dc51adcafe00406d0fb6cc5be3b65b8fc52004 (patch)
tree1215dfd76250d1463a14f5812ac454aeb04f864d /net/tipc/node.c
parent20c67312946dd0e152f6c65d6fa93c1b0eedcd80 (diff)
downloadlinux-stable-a7dc51adcafe00406d0fb6cc5be3b65b8fc52004.tar.gz
linux-stable-a7dc51adcafe00406d0fb6cc5be3b65b8fc52004.tar.bz2
linux-stable-a7dc51adcafe00406d0fb6cc5be3b65b8fc52004.zip
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/node.c')
-rw-r--r--net/tipc/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c
index 550581d47d51..324a1f91b394 100644
--- a/net/tipc/node.c
+++ b/net/tipc/node.c
@@ -1649,7 +1649,7 @@ static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb,
int usr = msg_user(hdr);
int mtyp = msg_type(hdr);
u16 oseqno = msg_seqno(hdr);
- u16 iseqno = msg_seqno(msg_get_wrapped(hdr));
+ u16 iseqno = msg_seqno(msg_inner_hdr(hdr));
u16 exp_pkts = msg_msgcnt(hdr);
u16 rcv_nxt, syncpt, dlv_nxt, inputq_len;
int state = n->state;