]> git.baikalelectronics.ru Git - kernel.git/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)
commit888a1498e035655be6f675ff57be5c0e31ea25a5
treeba07f5ef258f51e095d0bc3fa77d03321b8866a2
parent05a03937783c838ac00b216fefc5100b466b367d
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