[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110713.023226.1551271437773589147.davem@davemloft.net>
Date: Wed, 13 Jul 2011 02:32:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: matvejchikov@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 2/4] slip: fix MTU comparation operation when
reallocating buffers
From: Matvejchikov Ilya <matvejchikov@...il.com>
Date: Wed, 13 Jul 2011 11:46:17 +0400
> In sl_realloc_bufs() there is no reason to check if the requested MTU greater
> than or equal to the current MTU value as this function called only
> when requested
> MTU not equals to the current value. So, the ">=" operation can be
> safely replaced
> with the ">".
>
> Signed-off-by: Matvejchikov Ilya <matvejchikov@...il.com>
Patch corrupted by email client:
> printk(KERN_WARNING "%s: unable to grow slip buffers, MTU change
> cancelled.\n",
That should be one line.
I applied this by hand.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists