diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-12-12 22:48:18 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-12-12 22:48:18 (GMT) |
commit | 82b399133b6ebf667ee635fc69ef26b61eede4bc (patch) | |
tree | 83477ce12afd3d45397c4480426ae34a5effedd9 /fs/nfs/getroot.c | |
parent | 5180311fe93842e9e16eb7297cfc4aded752ab33 (diff) | |
download | linux-82b399133b6ebf667ee635fc69ef26b61eede4bc.tar.xz |
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>
Diffstat (limited to 'fs/nfs/getroot.c')
0 files changed, 0 insertions, 0 deletions