android_kernel_xiaomi_sm8350/drivers/infiniband/ulp/ipoib
Roland Dreier 82b399133b IPoIB: Make sure struct ipoib_neigh.queue is always initialized
Move the initialization of ipoib_neigh's skb_queue into
ipoib_neigh_alloc(), since commit 2745b5b7 ("IPoIB: Fix skb leak when
freeing neighbour") will make iterate over the skb_queue to free any
packets left over when freeing the ipoib_neigh structure.

This fixes a crash when freeing ipoib_neigh structures allocated in
ipoib_mcast_send(), which otherwise don't have their skb_queue
initialized.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-12-12 14:48:18 -08:00
..
ipoib_fs.c
ipoib_ib.c IPoIB: Use the new verbs DMA mapping functions 2006-12-12 14:30:48 -08:00
ipoib_main.c IPoIB: Make sure struct ipoib_neigh.queue is always initialized 2006-12-12 14:48:18 -08:00
ipoib_multicast.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 14:37:56 +00:00
ipoib_verbs.c
ipoib_vlan.c
ipoib.h IPoIB: Use the new verbs DMA mapping functions 2006-12-12 14:30:48 -08:00
Kconfig
Makefile