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

diff --git a/a/1.txt b/N1/1.txt
index 900f771..fb98f9b 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -11,7 +11,7 @@ good. Just one point:
 > +				       struct sctp_sack_info *params,
 > +				       unsigned int optlen)
 > +{
-> +	if (optlen = sizeof(struct sctp_assoc_value)) {
+> +	if (optlen == sizeof(struct sctp_assoc_value)) {
 > +		struct sctp_sack_info p;
 > +
 > +		pr_warn_ratelimited(DEPRECATED
@@ -33,7 +33,7 @@ trip on this again in the future.
 > +
 > +	if (optlen != sizeof(struct sctp_sack_info))
 > +		return -EINVAL;
-> +	if (params->sack_delay = 0 && params->sack_freq = 0)
+> +	if (params->sack_delay == 0 && params->sack_freq == 0)
 > +		return 0;
 > +	return __sctp_setsockopt_delayed_ack(sk, params);
 > +}
diff --git a/a/content_digest b/N1/content_digest
index bfde109..2fddfe3 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -3,7 +3,7 @@
  "ref\020200723092238.GA21143@lst.de\0"
  "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0"
  "Subject\0Re: [PATCH net-next] sctp: fix slab-out-of-bounds in SCTP_DELAYED_SACK processing\0"
- "Date\0Thu, 23 Jul 2020 15:30:25 +0000\0"
+ "Date\0Thu, 23 Jul 2020 12:30:25 -0300\0"
  "To\0Christoph Hellwig <hch@lst.de>\0"
  "Cc\0netdev@vger.kernel.org"
   Neil Horman <nhorman@tuxdriver.com>
@@ -23,7 +23,7 @@
  "> +\t\t\t\t       struct sctp_sack_info *params,\n"
  "> +\t\t\t\t       unsigned int optlen)\n"
  "> +{\n"
- "> +\tif (optlen = sizeof(struct sctp_assoc_value)) {\n"
+ "> +\tif (optlen == sizeof(struct sctp_assoc_value)) {\n"
  "> +\t\tstruct sctp_sack_info p;\n"
  "> +\n"
  "> +\t\tpr_warn_ratelimited(DEPRECATED\n"
@@ -45,7 +45,7 @@
  "> +\n"
  "> +\tif (optlen != sizeof(struct sctp_sack_info))\n"
  "> +\t\treturn -EINVAL;\n"
- "> +\tif (params->sack_delay = 0 && params->sack_freq = 0)\n"
+ "> +\tif (params->sack_delay == 0 && params->sack_freq == 0)\n"
  "> +\t\treturn 0;\n"
  "> +\treturn __sctp_setsockopt_delayed_ack(sk, params);\n"
  "> +}\n"
@@ -54,4 +54,4 @@
  ">   *\n"
  >   * Applications can specify protocol parameters for the default association
 
-0e985845b2cd304bbab9dc3758fc788073940c2c11e7bb3200669f2bcf5794d0
+5a1fd5348998b4a15b7763d62f5b8db207967146ad61e4c904448ef904399423

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.