diff options
| author | Jon Maloy <[email protected]> | 2019-06-25 17:37:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-06-25 20:42:54 +0000 |
| commit | a7dc51adcafe00406d0fb6cc5be3b65b8fc52004 (patch) | |
| tree | 1215dfd76250d1463a14f5812ac454aeb04f864d /net/tipc/node.c | |
| parent | tipc: eliminate unnecessary skb expansion during retransmission (diff) | |
| download | kernel-a7dc51adcafe00406d0fb6cc5be3b65b8fc52004.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
| -rw-r--r-- | net/tipc/node.c | 2 |
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; |
