]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - net/ipv4/ip_input.c
inet: rename some inet_sock fields
[mirror_ubuntu-focal-kernel.git] / net / ipv4 / ip_input.c
index 6c98b43badf4e1d770a3f28df87e6674dd963c42..fdf51badc8e57655e68638f94581f41bcd51b5a4 100644 (file)
@@ -161,7 +161,7 @@ int ip_call_ra_chain(struct sk_buff *skb)
                /* If socket is bound to an interface, only report
                 * the packet if it came  from that interface.
                 */
-               if (sk && inet_sk(sk)->num == protocol &&
+               if (sk && inet_sk(sk)->inet_num == protocol &&
                    (!sk->sk_bound_dev_if ||
                     sk->sk_bound_dev_if == dev->ifindex) &&
                    sock_net(sk) == dev_net(dev)) {