mirror of https://github.com/OpenIPC/firmware.git
13 lines
625 B
Diff
13 lines
625 B
Diff
diff -drupN a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c
|
|
--- a/net/ipv4/syncookies.c 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/net/ipv4/syncookies.c 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -373,7 +373,7 @@ struct sock *cookie_v4_check(struct sock
|
|
RT_CONN_FLAGS(sk), RT_SCOPE_UNIVERSE, IPPROTO_TCP,
|
|
inet_sk_flowi_flags(sk),
|
|
opt->srr ? opt->faddr : ireq->ir_rmt_addr,
|
|
- ireq->ir_loc_addr, th->source, th->dest);
|
|
+ ireq->ir_loc_addr, th->source, th->dest, sk->sk_uid);
|
|
security_req_classify_flow(req, flowi4_to_flowi(&fl4));
|
|
rt = ip_route_output_key(sock_net(sk), &fl4);
|
|
if (IS_ERR(rt)) {
|