Skip to content
Commit ef12d456 authored by Roland Dreier's avatar Roland Dreier
Browse files

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: default avatarRoland Dreier <rolandd@cisco.com>
parent a07bacca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment