diff options
author | julian <julian@FreeBSD.org> | 2009-07-28 19:43:27 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2009-07-28 19:43:27 +0000 |
commit | f22b416ddb62260d0b81c89a5d5d330c90b92170 (patch) | |
tree | d4546cf01d9d119487b9932d022b22472cce4200 /sys/kern | |
parent | 4092d532fe6dc0bf94bf61afe6e251b06754f6d0 (diff) | |
download | FreeBSD-src-f22b416ddb62260d0b81c89a5d5d330c90b92170.zip FreeBSD-src-f22b416ddb62260d0b81c89a5d5d330c90b92170.tar.gz |
Somewhere along the line accept sockets stopped honoring the
FIB selected for them. Fix this.
Reviewed by: ambrisko
Approved by: re (kib)
MFC after: 3 days
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 3db3e2c..29b400c 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -438,6 +438,7 @@ sonewconn(struct socket *head, int connstatus) so->so_options = head->so_options &~ SO_ACCEPTCONN; so->so_linger = head->so_linger; so->so_state = head->so_state | SS_NOFDREF; + so->so_fibnum = head->so_fibnum; so->so_proto = head->so_proto; so->so_cred = crhold(head->so_cred); #ifdef MAC |