| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
|---|
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
|---|
| .. | .. |
|---|
| 6 | 7 | * Support for INET connection oriented protocols. |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * Authors: See the TCP sources |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or |
|---|
| 11 | | - * modify it under the terms of the GNU General Public License |
|---|
| 12 | | - * as published by the Free Software Foundation; either version |
|---|
| 13 | | - * 2 of the License, or(at your option) any later version. |
|---|
| 14 | 10 | */ |
|---|
| 15 | 11 | |
|---|
| 16 | 12 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 140 | 136 | { |
|---|
| 141 | 137 | struct sock *sk2; |
|---|
| 142 | 138 | bool reuse = sk->sk_reuse; |
|---|
| 143 | | - bool reuseport = !!sk->sk_reuseport && reuseport_ok; |
|---|
| 139 | + bool reuseport = !!sk->sk_reuseport; |
|---|
| 144 | 140 | kuid_t uid = sock_i_uid((struct sock *)sk); |
|---|
| 145 | 141 | |
|---|
| 146 | 142 | /* |
|---|
| .. | .. |
|---|
| 155 | 151 | (!sk->sk_bound_dev_if || |
|---|
| 156 | 152 | !sk2->sk_bound_dev_if || |
|---|
| 157 | 153 | sk->sk_bound_dev_if == sk2->sk_bound_dev_if)) { |
|---|
| 158 | | - if ((!reuse || !sk2->sk_reuse || |
|---|
| 159 | | - sk2->sk_state == TCP_LISTEN) && |
|---|
| 160 | | - (!reuseport || !sk2->sk_reuseport || |
|---|
| 161 | | - rcu_access_pointer(sk->sk_reuseport_cb) || |
|---|
| 162 | | - (sk2->sk_state != TCP_TIME_WAIT && |
|---|
| 163 | | - !uid_eq(uid, sock_i_uid(sk2))))) { |
|---|
| 164 | | - if (inet_rcv_saddr_equal(sk, sk2, true)) |
|---|
| 165 | | - break; |
|---|
| 166 | | - } |
|---|
| 167 | | - if (!relax && reuse && sk2->sk_reuse && |
|---|
| 154 | + if (reuse && sk2->sk_reuse && |
|---|
| 168 | 155 | sk2->sk_state != TCP_LISTEN) { |
|---|
| 156 | + if ((!relax || |
|---|
| 157 | + (!reuseport_ok && |
|---|
| 158 | + reuseport && sk2->sk_reuseport && |
|---|
| 159 | + !rcu_access_pointer(sk->sk_reuseport_cb) && |
|---|
| 160 | + (sk2->sk_state == TCP_TIME_WAIT || |
|---|
| 161 | + uid_eq(uid, sock_i_uid(sk2))))) && |
|---|
| 162 | + inet_rcv_saddr_equal(sk, sk2, true)) |
|---|
| 163 | + break; |
|---|
| 164 | + } else if (!reuseport_ok || |
|---|
| 165 | + !reuseport || !sk2->sk_reuseport || |
|---|
| 166 | + rcu_access_pointer(sk->sk_reuseport_cb) || |
|---|
| 167 | + (sk2->sk_state != TCP_TIME_WAIT && |
|---|
| 168 | + !uid_eq(uid, sock_i_uid(sk2)))) { |
|---|
| 169 | 169 | if (inet_rcv_saddr_equal(sk, sk2, true)) |
|---|
| 170 | 170 | break; |
|---|
| 171 | 171 | } |
|---|
| .. | .. |
|---|
| 185 | 185 | int port = 0; |
|---|
| 186 | 186 | struct inet_bind_hashbucket *head; |
|---|
| 187 | 187 | struct net *net = sock_net(sk); |
|---|
| 188 | + bool relax = false; |
|---|
| 188 | 189 | int i, low, high, attempt_half; |
|---|
| 189 | 190 | struct inet_bind_bucket *tb; |
|---|
| 190 | 191 | u32 remaining, offset; |
|---|
| 192 | + int l3mdev; |
|---|
| 191 | 193 | |
|---|
| 194 | + l3mdev = inet_sk_bound_l3mdev(sk); |
|---|
| 195 | +ports_exhausted: |
|---|
| 192 | 196 | attempt_half = (sk->sk_reuse == SK_CAN_REUSE) ? 1 : 0; |
|---|
| 193 | 197 | other_half_scan: |
|---|
| 194 | 198 | inet_get_local_port_range(net, &low, &high); |
|---|
| .. | .. |
|---|
| 224 | 228 | hinfo->bhash_size)]; |
|---|
| 225 | 229 | spin_lock_bh(&head->lock); |
|---|
| 226 | 230 | inet_bind_bucket_for_each(tb, &head->chain) |
|---|
| 227 | | - if (net_eq(ib_net(tb), net) && tb->port == port) { |
|---|
| 228 | | - if (!inet_csk_bind_conflict(sk, tb, false, false)) |
|---|
| 231 | + if (net_eq(ib_net(tb), net) && tb->l3mdev == l3mdev && |
|---|
| 232 | + tb->port == port) { |
|---|
| 233 | + if (!inet_csk_bind_conflict(sk, tb, relax, false)) |
|---|
| 229 | 234 | goto success; |
|---|
| 230 | 235 | goto next_port; |
|---|
| 231 | 236 | } |
|---|
| .. | .. |
|---|
| 244 | 249 | /* OK we now try the upper half of the range */ |
|---|
| 245 | 250 | attempt_half = 2; |
|---|
| 246 | 251 | goto other_half_scan; |
|---|
| 252 | + } |
|---|
| 253 | + |
|---|
| 254 | + if (READ_ONCE(net->ipv4.sysctl_ip_autobind_reuse) && !relax) { |
|---|
| 255 | + /* We still have a chance to connect to different destinations */ |
|---|
| 256 | + relax = true; |
|---|
| 257 | + goto ports_exhausted; |
|---|
| 247 | 258 | } |
|---|
| 248 | 259 | return NULL; |
|---|
| 249 | 260 | success: |
|---|
| .. | .. |
|---|
| 348 | 359 | struct inet_bind_hashbucket *head; |
|---|
| 349 | 360 | struct net *net = sock_net(sk); |
|---|
| 350 | 361 | struct inet_bind_bucket *tb = NULL; |
|---|
| 362 | + int l3mdev; |
|---|
| 363 | + |
|---|
| 364 | + l3mdev = inet_sk_bound_l3mdev(sk); |
|---|
| 351 | 365 | |
|---|
| 352 | 366 | if (!port) { |
|---|
| 353 | 367 | head = inet_csk_find_open_port(sk, &tb, &port); |
|---|
| .. | .. |
|---|
| 361 | 375 | hinfo->bhash_size)]; |
|---|
| 362 | 376 | spin_lock_bh(&head->lock); |
|---|
| 363 | 377 | inet_bind_bucket_for_each(tb, &head->chain) |
|---|
| 364 | | - if (net_eq(ib_net(tb), net) && tb->port == port) |
|---|
| 378 | + if (net_eq(ib_net(tb), net) && tb->l3mdev == l3mdev && |
|---|
| 379 | + tb->port == port) |
|---|
| 365 | 380 | goto tb_found; |
|---|
| 366 | 381 | tb_not_found: |
|---|
| 367 | 382 | tb = inet_bind_bucket_create(hinfo->bind_bucket_cachep, |
|---|
| 368 | | - net, head, port); |
|---|
| 383 | + net, head, port, l3mdev); |
|---|
| 369 | 384 | if (!tb) |
|---|
| 370 | 385 | goto fail_unlock; |
|---|
| 371 | 386 | tb_found: |
|---|
| .. | .. |
|---|
| 549 | 564 | { |
|---|
| 550 | 565 | struct inet_connection_sock *icsk = inet_csk(sk); |
|---|
| 551 | 566 | |
|---|
| 552 | | - icsk->icsk_pending = icsk->icsk_ack.pending = icsk->icsk_ack.blocked = 0; |
|---|
| 567 | + icsk->icsk_pending = icsk->icsk_ack.pending = 0; |
|---|
| 553 | 568 | |
|---|
| 554 | 569 | sk_stop_timer(sk, &icsk->icsk_retransmit_timer); |
|---|
| 555 | 570 | sk_stop_timer(sk, &icsk->icsk_delack_timer); |
|---|
| .. | .. |
|---|
| 587 | 602 | (opt && opt->opt.srr) ? opt->opt.faddr : ireq->ir_rmt_addr, |
|---|
| 588 | 603 | ireq->ir_loc_addr, ireq->ir_rmt_port, |
|---|
| 589 | 604 | htons(ireq->ir_num), sk->sk_uid); |
|---|
| 590 | | - security_req_classify_flow(req, flowi4_to_flowi(fl4)); |
|---|
| 605 | + security_req_classify_flow(req, flowi4_to_flowi_common(fl4)); |
|---|
| 591 | 606 | rt = ip_route_output_flow(net, fl4, sk); |
|---|
| 592 | 607 | if (IS_ERR(rt)) |
|---|
| 593 | 608 | goto no_route; |
|---|
| .. | .. |
|---|
| 625 | 640 | (opt && opt->opt.srr) ? opt->opt.faddr : ireq->ir_rmt_addr, |
|---|
| 626 | 641 | ireq->ir_loc_addr, ireq->ir_rmt_port, |
|---|
| 627 | 642 | htons(ireq->ir_num), sk->sk_uid); |
|---|
| 628 | | - security_req_classify_flow(req, flowi4_to_flowi(fl4)); |
|---|
| 643 | + security_req_classify_flow(req, flowi4_to_flowi_common(fl4)); |
|---|
| 629 | 644 | rt = ip_route_output_flow(net, fl4, sk); |
|---|
| 630 | 645 | if (IS_ERR(rt)) |
|---|
| 631 | 646 | goto no_route; |
|---|
| .. | .. |
|---|
| 641 | 656 | } |
|---|
| 642 | 657 | EXPORT_SYMBOL_GPL(inet_csk_route_child_sock); |
|---|
| 643 | 658 | |
|---|
| 644 | | -#if IS_ENABLED(CONFIG_IPV6) |
|---|
| 645 | | -#define AF_INET_FAMILY(fam) ((fam) == AF_INET) |
|---|
| 646 | | -#else |
|---|
| 647 | | -#define AF_INET_FAMILY(fam) true |
|---|
| 648 | | -#endif |
|---|
| 649 | | - |
|---|
| 650 | 659 | /* Decide when to expire the request and when to resend SYN-ACK */ |
|---|
| 651 | | -static inline void syn_ack_recalc(struct request_sock *req, const int thresh, |
|---|
| 652 | | - const int max_retries, |
|---|
| 653 | | - const u8 rskq_defer_accept, |
|---|
| 654 | | - int *expire, int *resend) |
|---|
| 660 | +static void syn_ack_recalc(struct request_sock *req, |
|---|
| 661 | + const int max_syn_ack_retries, |
|---|
| 662 | + const u8 rskq_defer_accept, |
|---|
| 663 | + int *expire, int *resend) |
|---|
| 655 | 664 | { |
|---|
| 656 | 665 | if (!rskq_defer_accept) { |
|---|
| 657 | | - *expire = req->num_timeout >= thresh; |
|---|
| 666 | + *expire = req->num_timeout >= max_syn_ack_retries; |
|---|
| 658 | 667 | *resend = 1; |
|---|
| 659 | 668 | return; |
|---|
| 660 | 669 | } |
|---|
| 661 | | - *expire = req->num_timeout >= thresh && |
|---|
| 662 | | - (!inet_rsk(req)->acked || req->num_timeout >= max_retries); |
|---|
| 663 | | - /* |
|---|
| 664 | | - * Do not resend while waiting for data after ACK, |
|---|
| 670 | + *expire = req->num_timeout >= max_syn_ack_retries && |
|---|
| 671 | + (!inet_rsk(req)->acked || req->num_timeout >= rskq_defer_accept); |
|---|
| 672 | + /* Do not resend while waiting for data after ACK, |
|---|
| 665 | 673 | * start to resend on end of deferring period to give |
|---|
| 666 | 674 | * last chance for data or ACK to create established socket. |
|---|
| 667 | 675 | */ |
|---|
| .. | .. |
|---|
| 680 | 688 | EXPORT_SYMBOL(inet_rtx_syn_ack); |
|---|
| 681 | 689 | |
|---|
| 682 | 690 | /* return true if req was found in the ehash table */ |
|---|
| 683 | | -static bool reqsk_queue_unlink(struct request_sock_queue *queue, |
|---|
| 684 | | - struct request_sock *req) |
|---|
| 691 | +static bool reqsk_queue_unlink(struct request_sock *req) |
|---|
| 685 | 692 | { |
|---|
| 686 | 693 | struct inet_hashinfo *hashinfo = req_to_sk(req)->sk_prot->h.hashinfo; |
|---|
| 687 | 694 | bool found = false; |
|---|
| .. | .. |
|---|
| 700 | 707 | |
|---|
| 701 | 708 | bool inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req) |
|---|
| 702 | 709 | { |
|---|
| 703 | | - bool unlinked = reqsk_queue_unlink(&inet_csk(sk)->icsk_accept_queue, req); |
|---|
| 710 | + bool unlinked = reqsk_queue_unlink(req); |
|---|
| 704 | 711 | |
|---|
| 705 | 712 | if (unlinked) { |
|---|
| 706 | 713 | reqsk_queue_removed(&inet_csk(sk)->icsk_accept_queue, req); |
|---|
| .. | .. |
|---|
| 724 | 731 | struct net *net = sock_net(sk_listener); |
|---|
| 725 | 732 | struct inet_connection_sock *icsk = inet_csk(sk_listener); |
|---|
| 726 | 733 | struct request_sock_queue *queue = &icsk->icsk_accept_queue; |
|---|
| 727 | | - int qlen, expire = 0, resend = 0; |
|---|
| 728 | | - int max_retries, thresh; |
|---|
| 729 | | - u8 defer_accept; |
|---|
| 734 | + int max_syn_ack_retries, qlen, expire = 0, resend = 0; |
|---|
| 730 | 735 | |
|---|
| 731 | 736 | if (inet_sk_state_load(sk_listener) != TCP_LISTEN) |
|---|
| 732 | 737 | goto drop; |
|---|
| 733 | 738 | |
|---|
| 734 | | - max_retries = icsk->icsk_syn_retries ? : net->ipv4.sysctl_tcp_synack_retries; |
|---|
| 735 | | - thresh = max_retries; |
|---|
| 739 | + max_syn_ack_retries = icsk->icsk_syn_retries ? : net->ipv4.sysctl_tcp_synack_retries; |
|---|
| 736 | 740 | /* Normally all the openreqs are young and become mature |
|---|
| 737 | 741 | * (i.e. converted to established socket) for first timeout. |
|---|
| 738 | 742 | * If synack was not acknowledged for 1 second, it means |
|---|
| .. | .. |
|---|
| 751 | 755 | * ones are about to clog our table. |
|---|
| 752 | 756 | */ |
|---|
| 753 | 757 | qlen = reqsk_queue_len(queue); |
|---|
| 754 | | - if ((qlen << 1) > max(8U, sk_listener->sk_max_ack_backlog)) { |
|---|
| 758 | + if ((qlen << 1) > max(8U, READ_ONCE(sk_listener->sk_max_ack_backlog))) { |
|---|
| 755 | 759 | int young = reqsk_queue_len_young(queue) << 1; |
|---|
| 756 | 760 | |
|---|
| 757 | | - while (thresh > 2) { |
|---|
| 761 | + while (max_syn_ack_retries > 2) { |
|---|
| 758 | 762 | if (qlen < young) |
|---|
| 759 | 763 | break; |
|---|
| 760 | | - thresh--; |
|---|
| 764 | + max_syn_ack_retries--; |
|---|
| 761 | 765 | young <<= 1; |
|---|
| 762 | 766 | } |
|---|
| 763 | 767 | } |
|---|
| 764 | | - defer_accept = READ_ONCE(queue->rskq_defer_accept); |
|---|
| 765 | | - if (defer_accept) |
|---|
| 766 | | - max_retries = defer_accept; |
|---|
| 767 | | - syn_ack_recalc(req, thresh, max_retries, defer_accept, |
|---|
| 768 | + syn_ack_recalc(req, max_syn_ack_retries, READ_ONCE(queue->rskq_defer_accept), |
|---|
| 768 | 769 | &expire, &resend); |
|---|
| 769 | 770 | req->rsk_ops->syn_ack_timeout(req); |
|---|
| 770 | 771 | if (!expire && |
|---|
| .. | .. |
|---|
| 786 | 787 | static void reqsk_queue_hash_req(struct request_sock *req, |
|---|
| 787 | 788 | unsigned long timeout) |
|---|
| 788 | 789 | { |
|---|
| 789 | | - req->num_retrans = 0; |
|---|
| 790 | | - req->num_timeout = 0; |
|---|
| 791 | | - req->sk = NULL; |
|---|
| 792 | | - |
|---|
| 793 | 790 | timer_setup(&req->rsk_timer, reqsk_timer_handler, TIMER_PINNED); |
|---|
| 794 | 791 | mod_timer(&req->rsk_timer, jiffies + timeout); |
|---|
| 795 | 792 | |
|---|
| 796 | | - inet_ehash_insert(req_to_sk(req), NULL); |
|---|
| 793 | + inet_ehash_insert(req_to_sk(req), NULL, NULL); |
|---|
| 797 | 794 | /* before letting lookups find us, make sure all req fields |
|---|
| 798 | 795 | * are committed to memory and refcnt initialized. |
|---|
| 799 | 796 | */ |
|---|
| .. | .. |
|---|
| 808 | 805 | inet_csk_reqsk_queue_added(sk); |
|---|
| 809 | 806 | } |
|---|
| 810 | 807 | EXPORT_SYMBOL_GPL(inet_csk_reqsk_queue_hash_add); |
|---|
| 808 | + |
|---|
| 809 | +static void inet_clone_ulp(const struct request_sock *req, struct sock *newsk, |
|---|
| 810 | + const gfp_t priority) |
|---|
| 811 | +{ |
|---|
| 812 | + struct inet_connection_sock *icsk = inet_csk(newsk); |
|---|
| 813 | + |
|---|
| 814 | + if (!icsk->icsk_ulp_ops) |
|---|
| 815 | + return; |
|---|
| 816 | + |
|---|
| 817 | + if (icsk->icsk_ulp_ops->clone) |
|---|
| 818 | + icsk->icsk_ulp_ops->clone(req, newsk, priority); |
|---|
| 819 | +} |
|---|
| 811 | 820 | |
|---|
| 812 | 821 | /** |
|---|
| 813 | 822 | * inet_csk_clone_lock - clone an inet socket, and lock its clone |
|---|
| .. | .. |
|---|
| 845 | 854 | newicsk->icsk_retransmits = 0; |
|---|
| 846 | 855 | newicsk->icsk_backoff = 0; |
|---|
| 847 | 856 | newicsk->icsk_probes_out = 0; |
|---|
| 857 | + newicsk->icsk_probes_tstamp = 0; |
|---|
| 848 | 858 | |
|---|
| 849 | 859 | /* Deinitialize accept_queue to trap illegal accesses. */ |
|---|
| 850 | 860 | memset(&newicsk->icsk_accept_queue, 0, sizeof(newicsk->icsk_accept_queue)); |
|---|
| 861 | + |
|---|
| 862 | + inet_clone_ulp(req, newsk, priority); |
|---|
| 851 | 863 | |
|---|
| 852 | 864 | security_inet_csk_clone(newsk, req); |
|---|
| 853 | 865 | } |
|---|
| .. | .. |
|---|
| 895 | 907 | /* sk_clone_lock locked the socket and set refcnt to 2 */ |
|---|
| 896 | 908 | bh_unlock_sock(sk); |
|---|
| 897 | 909 | sock_put(sk); |
|---|
| 898 | | - |
|---|
| 899 | | - /* The below has to be done to allow calling inet_csk_destroy_sock */ |
|---|
| 900 | | - sock_set_flag(sk, SOCK_DEAD); |
|---|
| 901 | | - percpu_counter_inc(sk->sk_prot->orphan_count); |
|---|
| 910 | + inet_csk_prepare_for_destroy_sock(sk); |
|---|
| 902 | 911 | inet_sk(sk)->inet_num = 0; |
|---|
| 903 | 912 | } |
|---|
| 904 | 913 | EXPORT_SYMBOL(inet_csk_prepare_forced_close); |
|---|
| .. | .. |
|---|
| 911 | 920 | |
|---|
| 912 | 921 | reqsk_queue_alloc(&icsk->icsk_accept_queue); |
|---|
| 913 | 922 | |
|---|
| 914 | | - sk->sk_max_ack_backlog = backlog; |
|---|
| 915 | 923 | sk->sk_ack_backlog = 0; |
|---|
| 916 | 924 | inet_csk_delack_init(sk); |
|---|
| 917 | 925 | |
|---|
| .. | .. |
|---|
| 946 | 954 | percpu_counter_inc(sk->sk_prot->orphan_count); |
|---|
| 947 | 955 | |
|---|
| 948 | 956 | if (sk->sk_protocol == IPPROTO_TCP && tcp_rsk(req)->tfo_listener) { |
|---|
| 949 | | - BUG_ON(tcp_sk(child)->fastopen_rsk != req); |
|---|
| 957 | + BUG_ON(rcu_access_pointer(tcp_sk(child)->fastopen_rsk) != req); |
|---|
| 950 | 958 | BUG_ON(sk != req->rsk_listener); |
|---|
| 951 | 959 | |
|---|
| 952 | 960 | /* Paranoid, to prevent race condition if |
|---|
| .. | .. |
|---|
| 955 | 963 | * Also to satisfy an assertion in |
|---|
| 956 | 964 | * tcp_v4_destroy_sock(). |
|---|
| 957 | 965 | */ |
|---|
| 958 | | - tcp_sk(child)->fastopen_rsk = NULL; |
|---|
| 966 | + RCU_INIT_POINTER(tcp_sk(child)->fastopen_rsk, NULL); |
|---|
| 959 | 967 | } |
|---|
| 960 | 968 | inet_csk_destroy_sock(child); |
|---|
| 961 | 969 | } |
|---|
| .. | .. |
|---|
| 1061 | 1069 | sin->sin_port = inet->inet_dport; |
|---|
| 1062 | 1070 | } |
|---|
| 1063 | 1071 | EXPORT_SYMBOL_GPL(inet_csk_addr2sockaddr); |
|---|
| 1064 | | - |
|---|
| 1065 | | -#ifdef CONFIG_COMPAT |
|---|
| 1066 | | -int inet_csk_compat_getsockopt(struct sock *sk, int level, int optname, |
|---|
| 1067 | | - char __user *optval, int __user *optlen) |
|---|
| 1068 | | -{ |
|---|
| 1069 | | - const struct inet_connection_sock *icsk = inet_csk(sk); |
|---|
| 1070 | | - |
|---|
| 1071 | | - if (icsk->icsk_af_ops->compat_getsockopt) |
|---|
| 1072 | | - return icsk->icsk_af_ops->compat_getsockopt(sk, level, optname, |
|---|
| 1073 | | - optval, optlen); |
|---|
| 1074 | | - return icsk->icsk_af_ops->getsockopt(sk, level, optname, |
|---|
| 1075 | | - optval, optlen); |
|---|
| 1076 | | -} |
|---|
| 1077 | | -EXPORT_SYMBOL_GPL(inet_csk_compat_getsockopt); |
|---|
| 1078 | | - |
|---|
| 1079 | | -int inet_csk_compat_setsockopt(struct sock *sk, int level, int optname, |
|---|
| 1080 | | - char __user *optval, unsigned int optlen) |
|---|
| 1081 | | -{ |
|---|
| 1082 | | - const struct inet_connection_sock *icsk = inet_csk(sk); |
|---|
| 1083 | | - |
|---|
| 1084 | | - if (icsk->icsk_af_ops->compat_setsockopt) |
|---|
| 1085 | | - return icsk->icsk_af_ops->compat_setsockopt(sk, level, optname, |
|---|
| 1086 | | - optval, optlen); |
|---|
| 1087 | | - return icsk->icsk_af_ops->setsockopt(sk, level, optname, |
|---|
| 1088 | | - optval, optlen); |
|---|
| 1089 | | -} |
|---|
| 1090 | | -EXPORT_SYMBOL_GPL(inet_csk_compat_setsockopt); |
|---|
| 1091 | | -#endif |
|---|
| 1092 | 1072 | |
|---|
| 1093 | 1073 | static struct dst_entry *inet_csk_rebuild_route(struct sock *sk, struct flowi *fl) |
|---|
| 1094 | 1074 | { |
|---|