diff options
| author | Richard Alpe <[email protected]> | 2016-03-03 14:20:40 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-03-06 22:54:56 -0500 |
| commit | 9b3009604b8e305c32125530a3cbcc57d88f3bc1 (patch) | |
| tree | d5c275e3324846d9ff7ca120150c521c6d786feb /include/linux/timerqueue.h | |
| parent | 962d8cdc3133435aed2928637f73e272128a326c (diff) | |
tipc: add net device to skb before UDP xmit
Prior to this patch enabling a IPv4 UDP bearer caused a null pointer
dereference in iptunnel_xmit_stats(), when it tried to dereference the
net device from the skb. To resolve this we now point the skb device
to the net device resolved from the routing table.
Fixes: 039f50629b7f (ip_tunnel: Move stats update to iptunnel_xmit())
Signed-off-by: Richard Alpe <[email protected]>
Acked-by: Jon Maloy <[email protected]>
Reviewed-by: Erik Hugne <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions