]> err.no Git - linux-2.6/commit
IPoIB: Free child interfaces properly
authorRoland Dreier <rolandd@cisco.com>
Wed, 10 May 2006 05:54:59 +0000 (22:54 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 May 2006 05:54:59 +0000 (22:54 -0700)
commit5941d079f2c3bdf0dffed1afb8941678fcd0bcb7
treeba07f5ef258f51e095d0bc3fa77d03321b8866a2
parenta3285aa4eecd722508dab01c4932b11b4ba80134
IPoIB: Free child interfaces properly

When deleting a child interface with a non-default P_Key via
/sys/class/net/ibX/delete_child, the interface must be freed with
free_netdev() (rather than kfree() on the private data).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_vlan.c