aboutsummaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan_netlink.c
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@freescale.com>2014-03-11 18:01:24 +0200
committerDavid S. Miller <davem@davemloft.net>2014-03-12 00:47:52 -0400
commitb338ce270ed589f8a7b62e239632baa48f947b17 (patch)
treecbf5b4ece8cd443b52ca7a4b91cc5482adc0ccb3 /net/8021q/vlan_netlink.c
parentr8152: support dumping the hw counters (diff)
downloadlinux-dev-b338ce270ed589f8a7b62e239632baa48f947b17.tar.xz
linux-dev-b338ce270ed589f8a7b62e239632baa48f947b17.zip
gianfar: Fix multi-queue support checks @probe()
priv is not instantiated at gfar_of_init() time, when parsing the DT for info on supported HW queues. Before the netdev can be allocated, the number of supported queues must be known. Because the number of supported queues depends on device type, move the compatibility checks before netdev allocation. Local vars are used to hold the operation mode info before netdev allocation. This fixes the null accesses for priv->.., in gfar_of_init. Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions