Skip to content
Commit 2ce578ca authored by Miaohe Lin's avatar Miaohe Lin Committed by David S. Miller
Browse files

net: ipv4: Fix wrong type conversion from hint to rt in ip_route_use_hint()



We can't cast sk_buff to rtable by (struct rtable *)hint. Use skb_rtable().

Fixes: 02b24941 ("ipv4: use dst hint for ipv4 list receive")
Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0574e200
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment