Loading net/ipv4/syncookies.c +1 −1 Original line number Diff line number Diff line Loading @@ -347,7 +347,7 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, { .sport = th->dest, .dport = th->source } } }; security_req_classify_flow(req, &fl); if (ip_route_output_key(&init_net, &rt, &fl)) { if (ip_route_output_key(sock_net(sk), &rt, &fl)) { reqsk_free(req); goto out; } Loading Loading
net/ipv4/syncookies.c +1 −1 Original line number Diff line number Diff line Loading @@ -347,7 +347,7 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, { .sport = th->dest, .dport = th->source } } }; security_req_classify_flow(req, &fl); if (ip_route_output_key(&init_net, &rt, &fl)) { if (ip_route_output_key(sock_net(sk), &rt, &fl)) { reqsk_free(req); goto out; } Loading