X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Fnet%2Fnetfilter%2Fxt_osf.c;fp=kernel%2Fnet%2Fnetfilter%2Fxt_osf.c;h=df8801e02a322fec2fac377d00d7a2bb8d389688;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=0778855ea5e75dff20f77f58a23c1f751c5ae45d;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git diff --git a/kernel/net/netfilter/xt_osf.c b/kernel/net/netfilter/xt_osf.c index 0778855ea..df8801e02 100644 --- a/kernel/net/netfilter/xt_osf.c +++ b/kernel/net/netfilter/xt_osf.c @@ -200,7 +200,7 @@ xt_osf_match_packet(const struct sk_buff *skb, struct xt_action_param *p) unsigned char opts[MAX_IPOPTLEN]; const struct xt_osf_finger *kf; const struct xt_osf_user_finger *f; - struct net *net = dev_net(p->in ? p->in : p->out); + struct net *net = p->net; if (!info) return false;