diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-11-24 15:34:00 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-24 15:34:00 -0800 |
commit | 4b40eed73e3787d60160beed1352ceadd24f6be1 (patch) | |
tree | b85c3f6b4a159cee164c9cec7ac12be849d8e568 /net/sched | |
parent | 486bf8de17361232c40e092a219f328093e34dca (diff) | |
download | op-kernel-dev-4b40eed73e3787d60160beed1352ceadd24f6be1.zip op-kernel-dev-4b40eed73e3787d60160beed1352ceadd24f6be1.tar.gz |
infiniband: Kill directly reference of netdev->priv
This use of netdev->priv is wrong.
The right way is:
alloc_netdev() with no memory for private data.
make netdev->ml_priv to point to c2_dev.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Acked-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions