All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20161220112905.GE4731@localhost.localdomain>

diff --git a/a/1.txt b/N1/1.txt
index 36eda6e..21afdea 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -23,9 +23,9 @@ Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
 > -			 * the address type is really supported by the local
 > -			 * sock as well as the remote peer.
 > -			 */
-> -			if ((((AF_INET = addr->a.sa.sa_family) &&
+> -			if ((((AF_INET == addr->a.sa.sa_family) &&
 > -			      (copy_flags & SCTP_ADDR4_PEERSUPP))) ||
-> -			    (((AF_INET6 = addr->a.sa.sa_family) &&
+> -			    (((AF_INET6 == addr->a.sa.sa_family) &&
 > -			      (copy_flags & SCTP_ADDR6_ALLOWED) &&
 > -			      (copy_flags & SCTP_ADDR6_PEERSUPP)))) {
 > -				error = sctp_add_bind_addr(bp, &addr->a,
@@ -42,10 +42,10 @@ Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
 > +		 * the address type is really supported by the local
 > +		 * sock as well as the remote peer.
 > +		 */
-> +		if (addr->a.sa.sa_family = AF_INET &&
+> +		if (addr->a.sa.sa_family == AF_INET &&
 > +		    !(copy_flags & SCTP_ADDR4_PEERSUPP))
 > +			continue;
-> +		if (addr->a.sa.sa_family = AF_INET6 &&
+> +		if (addr->a.sa.sa_family == AF_INET6 &&
 > +		    (!(copy_flags & SCTP_ADDR6_ALLOWED) ||
 > +		     !(copy_flags & SCTP_ADDR6_PEERSUPP)))
 > +			continue;
diff --git a/a/content_digest b/N1/content_digest
index 3a52cf0..805188d 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\0b4d6428c565955e9e81e3b4623a6458e7567e593.1482212764.git.lucien.xin@gmail.com\0"
  "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0"
  "Subject\0Re: [PATCHv2 net 1/2] sctp: reduce indent level in sctp_copy_local_addr_list\0"
- "Date\0Tue, 20 Dec 2016 11:29:05 +0000\0"
+ "Date\0Tue, 20 Dec 2016 09:29:05 -0200\0"
  "To\0Xin Long <lucien.xin@gmail.com>\0"
  "Cc\0network dev <netdev@vger.kernel.org>"
   linux-sctp@vger.kernel.org
@@ -35,9 +35,9 @@
  "> -\t\t\t * the address type is really supported by the local\n"
  "> -\t\t\t * sock as well as the remote peer.\n"
  "> -\t\t\t */\n"
- "> -\t\t\tif ((((AF_INET = addr->a.sa.sa_family) &&\n"
+ "> -\t\t\tif ((((AF_INET == addr->a.sa.sa_family) &&\n"
  "> -\t\t\t      (copy_flags & SCTP_ADDR4_PEERSUPP))) ||\n"
- "> -\t\t\t    (((AF_INET6 = addr->a.sa.sa_family) &&\n"
+ "> -\t\t\t    (((AF_INET6 == addr->a.sa.sa_family) &&\n"
  "> -\t\t\t      (copy_flags & SCTP_ADDR6_ALLOWED) &&\n"
  "> -\t\t\t      (copy_flags & SCTP_ADDR6_PEERSUPP)))) {\n"
  "> -\t\t\t\terror = sctp_add_bind_addr(bp, &addr->a,\n"
@@ -54,10 +54,10 @@
  "> +\t\t * the address type is really supported by the local\n"
  "> +\t\t * sock as well as the remote peer.\n"
  "> +\t\t */\n"
- "> +\t\tif (addr->a.sa.sa_family = AF_INET &&\n"
+ "> +\t\tif (addr->a.sa.sa_family == AF_INET &&\n"
  "> +\t\t    !(copy_flags & SCTP_ADDR4_PEERSUPP))\n"
  "> +\t\t\tcontinue;\n"
- "> +\t\tif (addr->a.sa.sa_family = AF_INET6 &&\n"
+ "> +\t\tif (addr->a.sa.sa_family == AF_INET6 &&\n"
  "> +\t\t    (!(copy_flags & SCTP_ADDR6_ALLOWED) ||\n"
  "> +\t\t     !(copy_flags & SCTP_ADDR6_PEERSUPP)))\n"
  "> +\t\t\tcontinue;\n"
@@ -81,4 +81,4 @@
  "> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"
  >
 
-cbd91560c8b8d6c24e4dc695853ab288ce726c71edc55a0784ee117edff2bc4f
+6ae0c63632153c6727fdb3d6b337b8c00bd3a1caf33dfc7fc7ad659fdd4503c9

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.