summaryrefslogtreecommitdiff
path: root/include/linux/fddidevice.h
AgeCommit message (Expand)Author
2016-10-20net: use core MTU range checking in misc driversJarod Wilson
2013-09-26[networking]device.h: Remove extern from function prototypesJoe Perches
2008-11-20fddi: convert to new network device opsStephen Hemminger
2005-07-12[NET]: __be'ify *_type_trans()Alexey Dobriyan
2005-05-05[PATCH] update Ross Biro bouncing email addressJesper Juhl
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds
/cgit/git.armlinux.org.uk/linux-net-next.git/diff/net/dsa?id=bd706ff8ea2b6e2d3f21f0863b2fc42f860f8ba2&id2=3e07df430c2b4ffe003085a0b3e6b0b041187632'>diff)
net: vlan: suppress "failed to kill vid" warnings
When a real dev unregisters, vlan_device_event() also unregisters all of its vlan interfaces. For each VID this ends up in __vlan_vid_del(), which attempts to remove the VID from the real dev's VLAN filter. But the unregistering real dev might no longer be able to issue the required IOs, and return an error. Subsequently we raise a noisy warning msg that is not appropriate for this situation: the real dev is being torn down anyway, there shouldn't be any worry about cleanly releasing all of its HW-internal resources. So to avoid scaring innocent users, suppress this warning when the failed deletion happens on an unregistering device. While at it also convert the raw pr_warn() to a more fitting netdev_warn(). Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')