We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab53e02 commit 4260ee7Copy full SHA for 4260ee7
net/ipv4/netfilter/nf_tproxy_ipv4.c
@@ -62,6 +62,8 @@ __be32 nf_tproxy_laddr4(struct sk_buff *skb, __be32 user_laddr, __be32 daddr)
62
63
laddr = 0;
64
indev = __in_dev_get_rcu(skb->dev);
65
+ if (!indev)
66
+ return daddr;
67
68
in_dev_for_each_ifa_rcu(ifa, indev) {
69
if (ifa->ifa_flags & IFA_F_SECONDARY)
0 commit comments