diff options
Diffstat (limited to 'net/tipc/msg.h')
-rw-r--r-- | net/tipc/msg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/msg.h b/net/tipc/msg.h index 8de02ad6e352..da509f0eb9ca 100644 --- a/net/tipc/msg.h +++ b/net/tipc/msg.h | |||
@@ -308,7 +308,7 @@ static inline unchar *msg_data(struct tipc_msg *m) | |||
308 | return ((unchar *)m) + msg_hdr_sz(m); | 308 | return ((unchar *)m) + msg_hdr_sz(m); |
309 | } | 309 | } |
310 | 310 | ||
311 | static inline struct tipc_msg *msg_get_wrapped(struct tipc_msg *m) | 311 | static inline struct tipc_msg *msg_inner_hdr(struct tipc_msg *m) |
312 | { | 312 | { |
313 | return (struct tipc_msg *)msg_data(m); | 313 | return (struct tipc_msg *)msg_data(m); |
314 | } | 314 | } |
@@ -486,7 +486,7 @@ static inline void msg_set_prevnode(struct tipc_msg *m, u32 a) | |||
486 | static inline u32 msg_origport(struct tipc_msg *m) | 486 | static inline u32 msg_origport(struct tipc_msg *m) |
487 | { | 487 | { |
488 | if (msg_user(m) == MSG_FRAGMENTER) | 488 | if (msg_user(m) == MSG_FRAGMENTER) |
489 | m = msg_get_wrapped(m); | 489 | m = msg_inner_hdr(m); |
490 | return msg_word(m, 4); | 490 | return msg_word(m, 4); |
491 | } | 491 | } |
492 | 492 | ||