summaryrefslogtreecommitdiff
path: root/net/sched/sch_prio.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-08-31 05:16:22 (GMT)
committerDavid S. Miller <davem@davemloft.net>2007-08-31 05:16:22 (GMT)
commitb4a488d1824a2cc3514f9ee1298d805bd5edc893 (patch)
tree7198cc4ce2146b16e595f5dbbb222f5f6ebf982e /net/sched/sch_prio.c
parentdf1c0b8468b34628ed12b103804a4576cd9af8bb (diff)
downloadlinux-fsl-qoriq-b4a488d1824a2cc3514f9ee1298d805bd5edc893.tar.xz
[BRIDGE]: Fix OOPS when bridging device without ethtool.
Bridge code calls ethtool to get speed. The conversion to using only ethtool_ops broke the case of devices without ethtool_ops. This is a new regression in 2.6.23. Rearranged the switch to a logical order, and use gcc initializer. Ps: speed should have been part of the network device structure from the start rather than burying it in ethtool. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Acked-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_prio.c')
0 files changed, 0 insertions, 0 deletions