aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorJon Maloy <jon.maloy@ericsson.com>2019-06-25 13:37:00 -0400
committerDavid S. Miller <davem@davemloft.net>2019-06-25 16:42:54 -0400
commita7dc51adcafe00406d0fb6cc5be3b65b8fc52004 (patch)
tree1215dfd76250d1463a14f5812ac454aeb04f864d /net/tipc/node.c
parent20c67312946dd0e152f6c65d6fa93c1b0eedcd80 (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/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,
1649 int usr = msg_user(hdr); 1649 int usr = msg_user(hdr);
1650 int mtyp = msg_type(hdr); 1650 int mtyp = msg_type(hdr);
1651 u16 oseqno = msg_seqno(hdr); 1651 u16 oseqno = msg_seqno(hdr);
1652 u16 iseqno = msg_seqno(msg_get_wrapped(hdr)); 1652 u16 iseqno = msg_seqno(msg_inner_hdr(hdr));
1653 u16 exp_pkts = msg_msgcnt(hdr); 1653 u16 exp_pkts = msg_msgcnt(hdr);
1654 u16 rcv_nxt, syncpt, dlv_nxt, inputq_len; 1654 u16 rcv_nxt, syncpt, dlv_nxt, inputq_len;
1655 int state = n->state; 1655 int state = n->state;