]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/netfilter/xt_multiport.c
netpoll: take rcu_read_lock_bh() in netpoll_send_skb_on_dev()
[karo-tx-linux.git] / net / netfilter / xt_multiport.c
index 3140fd4049fc7bc8df35912ba62c58c12d403db3..ac1d3c3d09e72dbbfbf49f4dcdad6fc7600dcded 100644 (file)
@@ -72,7 +72,7 @@ ports_match_v1(const struct xt_multiport_v1 *minfo,
 }
 
 static bool
-multiport_mt(const struct sk_buff *skb, const struct xt_action_param *par)
+multiport_mt(const struct sk_buff *skb, struct xt_action_param *par)
 {
        const __be16 *pptr;
        __be16 _ports[2];
@@ -87,7 +87,7 @@ multiport_mt(const struct sk_buff *skb, const struct xt_action_param *par)
                 * can't.  Hence, no choice but to drop.
                 */
                pr_debug("Dropping evil offset=0 tinygram.\n");
-               *par->hotdrop = true;
+               par->hotdrop = true;
                return false;
        }