mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
net: Add missing LOOPBACK_IFINDEX change in ipv6/route.c
Missed in "net: Loopback ifindex is constant now" backport. Change-Id: I7259ac064e9ece4520ff355d55ffd04646d384ce
This commit is contained in:
parent
f499215262
commit
70e12c60f4
1 changed files with 1 additions and 1 deletions
|
@ -961,7 +961,7 @@ struct dst_entry * ip6_route_output(struct net *net, const struct sock *sk,
|
|||
{
|
||||
int flags = 0;
|
||||
|
||||
fl6->flowi6_iif = net->loopback_dev->ifindex;
|
||||
fl6->flowi6_iif = LOOPBACK_IFINDEX;
|
||||
|
||||
if ((sk && sk->sk_bound_dev_if) || rt6_need_strict(&fl6->daddr))
|
||||
flags |= RT6_LOOKUP_F_IFACE;
|
||||
|
|
Loading…
Reference in a new issue