commit | 4b40eed73e3787d60160beed1352ceadd24f6be1 | [log] [tgz] |
---|---|---|
author | Wang Chen <wangchen@cn.fujitsu.com> | Mon Nov 24 15:34:00 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 24 15:34:00 2008 -0800 |
tree | b85c3f6b4a159cee164c9cec7ac12be849d8e568 | |
parent | 486bf8de17361232c40e092a219f328093e34dca [diff] |
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>