be2net: bug fix in be_change_mtu
authorAjit Khaparde <ajitkhaparde@gmail.com>
Tue, 9 Feb 2010 01:32:43 +0000 (01:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2010 20:27:58 +0000 (12:27 -0800)
Current code allows the new mtu to cross the supported value.
This patch fixes the boundary checks.

From: Suresh R <sureshr@serverengines.com>
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found