]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteff96243cd6c7cb5f6d89f7eb51b4a07c72e0f94
tree5dfa4653fedb08174f1143146a6fb205033d5243
parenta7618c83671eeb35f60089a7512f186dec6c266d
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