diff options
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/core.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index 0d783bcc6f9a..bd78d1705c0f 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h | |||
@@ -303,15 +303,14 @@ static inline void k_term_timer(struct timer_list *timer) | |||
303 | /* | 303 | /* |
304 | * TIPC message buffer code | 304 | * TIPC message buffer code |
305 | * | 305 | * |
306 | * TIPC message buffer headroom reserves space for a link-level header | 306 | * TIPC message buffer headroom reserves space for the worst-case |
307 | * (in case the message is sent off-node), | 307 | * link-level device header (in case the message is sent off-node). |
308 | * while ensuring TIPC header is word aligned for quicker access | ||
309 | * | 308 | * |
310 | * The largest header currently supported is 18 bytes, which is used when | 309 | * Note: Headroom should be a multiple of 4 to ensure the TIPC header fields |
311 | * the standard 14 byte Ethernet header has 4 added bytes for VLAN info | 310 | * are word aligned for quicker access |
312 | */ | 311 | */ |
313 | 312 | ||
314 | #define BUF_HEADROOM 20u | 313 | #define BUF_HEADROOM LL_MAX_HEADER |
315 | 314 | ||
316 | struct tipc_skb_cb { | 315 | struct tipc_skb_cb { |
317 | void *handle; | 316 | void *handle; |