lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun,  3 May 2015 14:55:19 -0600
From:	Jεan Sacren <sakiwit@...il.com>
To:	netdev@...r.kernel.org
Cc:	Eric Dumazet <eric.dumazet@...il.com>
Subject: [PATCH net-next] sock: fix comment location

From: Jean Sacren <sakiwit@...il.com>

The block of comment is for 'sk_incoming_cpu' rather than 'sk_txhash'.
Therefore, move it above "u16 sk_incoming_cpu;" where it belongs.

Signed-off-by: Jean Sacren <sakiwit@...il.com>
Cc: Eric Dumazet <eric.dumazet@...il.com>
---
 include/net/sock.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/net/sock.h b/include/net/sock.h
index 3a4898ec8c67..42a8670e5baf 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists