summaryrefslogtreecommitdiffstats
path: root/src/include/strings.h
diff options
context:
space:
mode:
authorWissam Shoukair2015-08-12 11:28:58 +0200
committerMichael Brown2015-08-17 15:42:36 +0200
commiteb8df9a0466078f083822e5ef2fb16713c94d25c (patch)
treef42ae5a6ad32a2e1a04139894cece0c0dc3c3a67 /src/include/strings.h
parent[peerdist] Add support for PeerDist (aka BranchCache) HTTP content encoding (diff)
downloadipxe-eb8df9a0466078f083822e5ef2fb16713c94d25c.tar.gz
ipxe-eb8df9a0466078f083822e5ef2fb16713c94d25c.tar.xz
ipxe-eb8df9a0466078f083822e5ef2fb16713c94d25c.zip
[ipoib] Fix a race when chain-loading undionly.kpxe in IPoIB
The Infiniband link status change callback ipoib_link_state_changed() may be called while the IPoIB device is closed, in which case there will not be an IPoIB queue pair to be joined to the IPv4 broadcast group. This leads to NULL pointer dereferences in ib_mcast_attach() and ib_mcast_detach(). Fix by not attempting to join (or leave) the broadcast group unless we actually have an IPoIB queue pair. Signed-off-by: Wissam Shoukair <wissams@mellanox.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/strings.h')
0 files changed, 0 insertions, 0 deletions