All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <22d87ec3-608f-fe41-5eb7-fe1104f133dd@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index b801c42..3ad4919 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -16,7 +16,7 @@ e.g. 1120
 I can't find any other way to reduce the stack usage except use "static" before
 unsigned long buff[TCP_MIB_MAX]
 
-PS. sizeof buff is about TCP_MIB_MAX(116)*8’8
+PS. sizeof buff is about TCP_MIB_MAX(116)*8=928
 B.R.
 >> Signed-off-by: Jia He <hejianet@gmail.com>
 >> ---
@@ -90,7 +90,7 @@ B.R.
 >> +				 net->mib.tcp_statistics);
 >>   	for (i = 0; snmp4_tcp_list[i].name != NULL; i++) {
 >>   		/* MaxConn field is signed, RFC 2012 */
->>   		if (snmp4_tcp_list[i].entry = TCP_MIB_MAXCONN)
+>>   		if (snmp4_tcp_list[i].entry == TCP_MIB_MAXCONN)
 >> -			seq_printf(seq, " %ld",
 >> -				   snmp_fold_field(net->mib.tcp_statistics,
 >> -						   snmp4_tcp_list[i].entry));
diff --git a/a/content_digest b/N1/content_digest
index b812767..91900c0 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -3,7 +3,7 @@
  "ref\020160912185752.GB17689@localhost.localdomain\0"
  "From\0hejianet <hejianet@gmail.com>\0"
  "Subject\0Re: [RFC PATCH v3 2/7] proc: Reduce cache miss in {snmp,netstat}_seq_show\0"
- "Date\0Wed, 14 Sep 2016 05:58:42 +0000\0"
+ "Date\0Wed, 14 Sep 2016 13:58:42 +0800\0"
  "To\0Marcelo <marcelo.leitner@gmail.com>\0"
  "Cc\0netdev@vger.kernel.org"
   linux-sctp@vger.kernel.org
@@ -37,7 +37,7 @@
  "I can't find any other way to reduce the stack usage except use \"static\" before\n"
  "unsigned long buff[TCP_MIB_MAX]\n"
  "\n"
- "PS. sizeof buff is about TCP_MIB_MAX(116)*8\342\200\2318\n"
+ "PS. sizeof buff is about TCP_MIB_MAX(116)*8=928\n"
  "B.R.\n"
  ">> Signed-off-by: Jia He <hejianet@gmail.com>\n"
  ">> ---\n"
@@ -111,7 +111,7 @@
  ">> +\t\t\t\t net->mib.tcp_statistics);\n"
  ">>   \tfor (i = 0; snmp4_tcp_list[i].name != NULL; i++) {\n"
  ">>   \t\t/* MaxConn field is signed, RFC 2012 */\n"
- ">>   \t\tif (snmp4_tcp_list[i].entry = TCP_MIB_MAXCONN)\n"
+ ">>   \t\tif (snmp4_tcp_list[i].entry == TCP_MIB_MAXCONN)\n"
  ">> -\t\t\tseq_printf(seq, \" %ld\",\n"
  ">> -\t\t\t\t   snmp_fold_field(net->mib.tcp_statistics,\n"
  ">> -\t\t\t\t\t\t   snmp4_tcp_list[i].entry));\n"
@@ -254,4 +254,4 @@
  ">> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"
  >>
 
-064a29af5b3ca28e413675f77c20e64f568945dbb20b8af55b6df9094347c27a
+9d2980572244eabb68aa6e1ef107a17d1c599bb47a8772a2109813a992cf9429

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.