diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-03-29 09:36:46 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-29 09:36:46 -0800 |
commit | ef12d4561900d4af37f46a8f2d97dec3c4d59bf9 (patch) | |
tree | 29b849109170341a546fbe0bdb52a43741b0341c /drivers/infiniband/hw/mthca/mthca_pd.c | |
parent | a07bacca7b4032dd361ad5c87b1c39ae229e6739 (diff) | |
download | linux-ef12d4561900d4af37f46a8f2d97dec3c4d59bf9.tar.gz linux-ef12d4561900d4af37f46a8f2d97dec3c4d59bf9.tar.bz2 linux-ef12d4561900d4af37f46a8f2d97dec3c4d59bf9.zip |
IPoIB: Fix oops with raw sockets
ipoib_hard_header() needs to handle the case that daddr is NULL. This
can happen when packets are injected via a raw socket, and IPoIB
shouldn't oops in this case.
Reported by Anton Blanchard <anton@samba.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_pd.c')
0 files changed, 0 insertions, 0 deletions