All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4DAE8BAB.6010607@cn.fujitsu.com>

diff --git a/a/1.txt b/N1/1.txt
index 29bce1e..0caed17 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -66,8 +66,8 @@ index f87ccb1..a7b65e9 100644
  
  	/* Process the initialization parameters.  */
  	sctp_walk_params(param, peer_init, init_hdr.params) {
-+		if (!src_match && (param.p->type = SCTP_PARAM_IPV4_ADDRESS ||
-+		    param.p->type = SCTP_PARAM_IPV6_ADDRESS)) {
++		if (!src_match && (param.p->type == SCTP_PARAM_IPV4_ADDRESS ||
++		    param.p->type == SCTP_PARAM_IPV6_ADDRESS)) {
 +			af = sctp_get_af_specific(param_type2af(param.p->type));
 +			af->from_addr_param(&addr, param.addr,
 +					    chunk->sctp_hdr->source, 0);
diff --git a/a/content_digest b/N1/content_digest
index 5abfd97..ab2222e 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\04DAE8A27.3040007@cn.fujitsu.com\0"
  "From\0Wei Yongjun <yjwei@cn.fujitsu.com>\0"
- "Subject\0[PATCH net-next-2.6 7/9] sctp: fix to check the source address of\0"
- "Date\0Wed, 20 Apr 2011 07:30:51 +0000\0"
+ "Subject\0[PATCH net-next-2.6 7/9] sctp: fix to check the source address of COOKIE-ECHO chunk\0"
+ "Date\0Wed, 20 Apr 2011 15:30:51 +0800\0"
  "To\0David Miller <davem@davemloft.net>\0"
  "Cc\0netdev@vger.kernel.org <netdev@vger.kernel.org>"
  " lksctp <linux-sctp@vger.kernel.org>\0"
@@ -75,8 +75,8 @@
  " \n"
  " \t/* Process the initialization parameters.  */\n"
  " \tsctp_walk_params(param, peer_init, init_hdr.params) {\n"
- "+\t\tif (!src_match && (param.p->type = SCTP_PARAM_IPV4_ADDRESS ||\n"
- "+\t\t    param.p->type = SCTP_PARAM_IPV6_ADDRESS)) {\n"
+ "+\t\tif (!src_match && (param.p->type == SCTP_PARAM_IPV4_ADDRESS ||\n"
+ "+\t\t    param.p->type == SCTP_PARAM_IPV6_ADDRESS)) {\n"
  "+\t\t\taf = sctp_get_af_specific(param_type2af(param.p->type));\n"
  "+\t\t\taf->from_addr_param(&addr, param.addr,\n"
  "+\t\t\t\t\t    chunk->sctp_hdr->source, 0);\n"
@@ -165,4 +165,4 @@
  "-- \n"
  1.6.5.2
 
-f4a2e95408a414283bedc5fcf2f79847d92d71841c1055885a0e5dea099756ac
+ded250a2d67ab738d838c99e730628714b59cc604690b6d451fe4e5e68679eee

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.