commit | 2ce578ca9444bb44da66b9a494f56e7ec12e6466 | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Sat Jun 27 15:47:51 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 27 18:02:32 2020 -0700 |
tree | 4c0f249609eb077106267181eddb3e571f82a749 | |
parent | 0574e2000fc3103cbc69ba82ec1175ce171fdf5e [diff] |
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: 02b24941619f ("ipv4: use dst hint for ipv4 list receive") Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>