]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
qeth: recognize vlan devices in layer3 mode
authorfrank.blaschka@de.ibm.com <frank.blaschka@de.ibm.com>
Wed, 16 May 2012 01:28:26 +0000 (01:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2012 19:32:50 +0000 (15:32 -0400)
commit6d8823db422ae6719c7840fe11f737a40ffe4993
tree9491725824997943f1c410b689cd0241c482a77a
parenta8f40f7c8e52114550e6fa161d925bd6eca69e19
qeth: recognize vlan devices in layer3 mode

The qeth layer3 driver is notified about IP address changes.
Changes concerning qeth driven network interfaces have to be
forwarded to the OSA-card. This includes IP addresses of VLAN
interfaces with a qeth device as base device. Function
qeth_l3_verify_vlan_dev() determines if the net_device of the
IP event belongs to a vlan device belonging to a qeth device
as real device. This function is broken starting with commit
7ff0bcf676f7ed224ce21b58c7858c8e527068b2 , which means IP
addresses of VLAN devices are no longer set at the base qeth
device. The patch repairs function qeth_l3_verify_vlan_dev().

Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_main.c