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

diff --git a/a/1.txt b/N1/1.txt
index 3292655..bb5a8d4 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -185,7 +185,7 @@ Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
 >  	/* Extract the info we need:
 >  	 * - hmac id
 > @@ -724,12 +741,7 @@ void sctp_auth_calculate_hmac(const struct sctp_association *asoc,
->  	if (key_id = asoc->active_key_id)
+>  	if (key_id == asoc->active_key_id)
 >  		asoc_key = asoc->asoc_shared_key;
 >  	else {
 > -		struct sctp_shared_key *ep_key;
@@ -212,9 +212,9 @@ Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
 >  		sh_keys = &ep->endpoint_shared_keys;
 >  
 > -	key_for_each(cur_key, sh_keys) {
-> -		if (cur_key->key_id = auth_key->sca_keynumber) {
+> -		if (cur_key->key_id == auth_key->sca_keynumber) {
 > +	key_for_each(shkey, sh_keys) {
-> +		if (shkey->key_id = auth_key->sca_keynumber) {
+> +		if (shkey->key_id == auth_key->sca_keynumber) {
 >  			replace = 1;
 >  			break;
 >  		}
diff --git a/a/content_digest b/N1/content_digest
index 3fe6c14..73b978d 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\06b9a82f18f69682fea668026d33b937c1702a09a.1521025473.git.lucien.xin@gmail.com\0"
  "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0"
  "Subject\0Re: [PATCH net-next 1/5] sctp: add refcnt support for sh_key\0"
- "Date\0Wed, 14 Mar 2018 13:53:02 +0000\0"
+ "Date\0Wed, 14 Mar 2018 10:53:02 -0300\0"
  "To\0Xin Long <lucien.xin@gmail.com>\0"
  "Cc\0network dev <netdev@vger.kernel.org>"
   linux-sctp@vger.kernel.org
@@ -197,7 +197,7 @@
  ">  \t/* Extract the info we need:\n"
  ">  \t * - hmac id\n"
  "> @@ -724,12 +741,7 @@ void sctp_auth_calculate_hmac(const struct sctp_association *asoc,\n"
- ">  \tif (key_id = asoc->active_key_id)\n"
+ ">  \tif (key_id == asoc->active_key_id)\n"
  ">  \t\tasoc_key = asoc->asoc_shared_key;\n"
  ">  \telse {\n"
  "> -\t\tstruct sctp_shared_key *ep_key;\n"
@@ -224,9 +224,9 @@
  ">  \t\tsh_keys = &ep->endpoint_shared_keys;\n"
  ">  \n"
  "> -\tkey_for_each(cur_key, sh_keys) {\n"
- "> -\t\tif (cur_key->key_id = auth_key->sca_keynumber) {\n"
+ "> -\t\tif (cur_key->key_id == auth_key->sca_keynumber) {\n"
  "> +\tkey_for_each(shkey, sh_keys) {\n"
- "> +\t\tif (shkey->key_id = auth_key->sca_keynumber) {\n"
+ "> +\t\tif (shkey->key_id == auth_key->sca_keynumber) {\n"
  ">  \t\t\treplace = 1;\n"
  ">  \t\t\tbreak;\n"
  ">  \t\t}\n"
@@ -478,4 +478,4 @@
  "> 2.1.0\n"
  >
 
-93de78f89fec8862e008d72d8dc40737f0943c7e18279791f01e7a4a8398983e
+826faacb808962ad3447b2f54549ababf9470550e7c6be7502d26119074e8056

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.