mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
net: use inet6_iif instead of IP6CB()->iif
Signed-off-by: Duan Jiong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
7bcc6738ee
commit
4330487acf
4 changed files with 7 additions and 7 deletions
|
|
@ -687,7 +687,7 @@ static int l2tp_ip6_recvmsg(struct kiocb *iocb, struct sock *sk,
|
|||
lsa->l2tp_scope_id = 0;
|
||||
lsa->l2tp_conn_id = 0;
|
||||
if (ipv6_addr_type(&lsa->l2tp_addr) & IPV6_ADDR_LINKLOCAL)
|
||||
lsa->l2tp_scope_id = IP6CB(skb)->iif;
|
||||
lsa->l2tp_scope_id = inet6_iif(skb);
|
||||
}
|
||||
|
||||
if (np->rxopt.all)
|
||||
|
|
|
|||
Loading…
Reference in a new issue