sock: fix comment location
Subsystems (3)
PATCH 1/1 sock: fix comment location
From: Jean Sacren <[email protected]>
The block of comment is for 'sk_incoming_cpu' rather than 'sk_txhash'. Therefore, move it above "u16 sk_incoming_cpu;" where it belongs.
--- include/net/sock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/sock.h +1 -1
@@ -352,11 +352,11 @@ struct sock {#ifdef CONFIG_RPS __u32 sk_rxhash;#endif -u16 sk_incoming_cpu;/* 16bit hole * Warned : sk_incoming_cpu can be set from softirq, * Do not use this hole without fully understanding possible issues. */ +u16 sk_incoming_cpu;__u32 sk_txhash;#ifdef CONFIG_NET_RX_BUSY_POLL
Quoted 4 lines · Jεan Sacren
From: Jean Sacren <[email protected]>
The block of comment is for '
sk_incoming_cpu' rather than 'sk_txhash'. Therefore, move it above "u16sk_incoming_cpu;" where it belongs.
comment is at the right place.
include/net/sock.h struct sock { · line 359
Quoted 9 lines
include/net/sock.h +1
-1-u16 sk_incoming_cpu;/* 16bit hole * Warned : sk_incoming_cpu can be set from softirq, * Do not use this hole without fully understanding possible issues. */ +u16 sk_incoming_cpu;
This hole is between sk_incoming_cpu and sk_txhash.
From: Florian Westphal <[email protected]>
Date: Sun, 03 May 2015 23:05:34 +0200
Quoted 9 lines
Quoted 4 lines · Jεan Sacren
From: Jean Sacren <[email protected]>
The block of comment is for '
sk_incoming_cpu' rather than 'sk_txhash'. Therefore, move it above "u16sk_incoming_cpu;" where it belongs.comment is at the right place.
Quoted 11 lines
include/net/sock.h struct sock { · line 359
Quoted 9 lines
include/net/sock.h +1
-1-u16 sk_incoming_cpu;/* 16bit hole * Warned : sk_incoming_cpu can be set from softirq, * Do not use this hole without fully understanding possible issues. */ +u16 sk_incoming_cpu;This hole is between
sk_incoming_cpuandsk_txhash.
I'm so sorry. Thank you for teaching me. I did wish there were an empty line below "u16 sk_incoming_cpu;"