]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/netfilter/xt_esp.c
netfilter: xtables: change hotdrop pointer to direct modification
[mirror_ubuntu-bionic-kernel.git] / net / netfilter / xt_esp.c
index 7c2d80020554426c8b10da7a964727c861f975c0..171ba82b5902095202d72705fd0ec00906e241b8 100644 (file)
@@ -52,7 +52,7 @@ static bool esp_mt(const struct sk_buff *skb, struct xt_action_param *par)
                 * can't.  Hence, no choice but to drop.
                 */
                pr_debug("Dropping evil ESP tinygram.\n");
-               *par->hotdrop = true;
+               par->hotdrop = true;
                return false;
        }