X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=net%2Fipv4%2Fnetfilter%2Fnf_reject_ipv4.c;h=297000b05f18f2fa1aa01e9cec88ecf8d1899de4;hb=96c510a53181d9998033aa98722ce2cf14cf981b;hp=f33aeab9424f75478aa19db46820823024762a0c;hpb=fff5a5e7f528b2ed2c335991399a766c2cf01103;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/net/ipv4/netfilter/nf_reject_ipv4.c b/net/ipv4/netfilter/nf_reject_ipv4.c index f33aeab..297000b 100644 --- a/net/ipv4/netfilter/nf_reject_ipv4.c +++ b/net/ipv4/netfilter/nf_reject_ipv4.c @@ -289,7 +289,7 @@ void nf_send_reset(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);