netfilter: propagate net to nf_bridge_get_physindev
[platform/kernel/linux-starfive.git] / net / ipv6 / netfilter / nf_reject_ipv6.c
index 58ccdb0..0a5ef7a 100644 (file)
@@ -354,7 +354,7 @@ void nf_send_reset6(struct net *net, struct sock *sk, struct sk_buff *oldskb,
         * build the eth header using the original destination's MAC as the
         * source, and send the RST packet directly.
         */
-       br_indev = nf_bridge_get_physindev(oldskb);
+       br_indev = nf_bridge_get_physindev(oldskb, net);
        if (br_indev) {
                struct ethhdr *oeth = eth_hdr(oldskb);