]> err.no Git - linux-2.6/commit
netdev: netdev_priv() can now be sane again.
authorDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2008 09:58:39 +0000 (02:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jul 2008 02:21:09 +0000 (19:21 -0700)
commite3c50d5d25ac09efd9acbe2b2a3e365466de84ed
treedc5bc3322f9e4829c2143fc4fc60532fd84ab9a1
parent6b0fb1261a4655613bed5dac0e935e733969e999
netdev: netdev_priv() can now be sane again.

The private area of a netdev is now at a fixed offset once more.

Unfortunately, some assumptions that netdev_priv() == netdev->priv
crept back into the tree.  In particular this happened in the
loopback driver.  Make it use netdev->ml_priv.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/loopback.c
include/linux/netdevice.h