lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 09 Jul 2014 16:46:58 -0700 (PDT) From: David Miller <davem@...emloft.net> To: hayeswang@...ltek.com Cc: netdev@...r.kernel.org, nic_swsd@...ltek.com, linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org Subject: Re: [PATCH net-next] r8152: support jumbo frame for RTL8153 From: Hayes Wang <hayeswang@...ltek.com> Date: Wed, 9 Jul 2014 16:07:02 +0800 > +static int rtl8152_change_mtu(struct net_device *dev, int new_mtu) > +{ > + struct r8152 *tp = netdev_priv(dev); > + > + if (dev->mtu == new_mtu) > + return 0; This method will never be invoked if the MTU is actually not changing. Please remove this test. -- 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