net: make dev_disable_lro use physical device if passed a vlan dev (v2)
authorNeil Horman <nhorman@tuxdriver.com>
Tue, 24 May 2011 08:31:09 +0000 (08:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 May 2011 21:55:25 +0000 (17:55 -0400)
commitf11970e383acd6f505f492f1bc07fb1a4d884829
tree5dfa4653fedb08174f1143146a6fb205033d5243
parent6dcbbe25dcc9bd2bdeb4f685f8fb874ffc10e6be
net: make dev_disable_lro use physical device if passed a vlan dev (v2)

If the device passed into dev_disable_lro is a vlan, then repoint the dev
poniter so that we actually modify the underlying physical device.

Signed-of-by: Neil Horman <nhorman@tuxdriver.com>
CC: davem@davemloft.net
CC: bhutchings@solarflare.com
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c