netdev-linux: Add MTU check before setting MTU.
authorPravin B Shelar <pshelar@nicira.com>
Wed, 25 Jan 2012 23:44:26 +0000 (15:44 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 25 Jan 2012 23:44:26 +0000 (15:44 -0800)
commit153e54814d81cafa89bae451dbfa92a31910e5a6
tree6f22c1dad1e5ec73fcee1b65e7f7d581d10479af
parentfe4a02e4fa6be030a0478f6b01b0d4b6ab9b808f
netdev-linux: Add MTU check before setting MTU.

Following patch check if current MTU needs to be changed before
issuing set-mtu ioctl.

Suggested-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-linux.c