Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/netinet
On Fri, Dec 22, 2017 at 11:22:37AM +0000, Ryota Ozaki wrote:
> Module Name: src
> Committed By: ozaki-r
> Date: Fri Dec 22 11:22:37 UTC 2017
>
> Modified Files:
> src/sys/netinet: ip_output.c
>
> Log Message:
> Fix usage of curlwp_bind in ip_output
> @@ -303,6 +303,10 @@ ip_output(struct mbuf *m0, struct mbuf *
> !in_hosteq(dst->sin_addr, ip->ip_dst)))
> rtcache_free(ro);
>
> + /* XXX must be before rtcache operations */
> + bound = curlwp_bind();
> + bind_need_restore = true;
> +
> if ((rt = rtcache_validate(ro)) == NULL &&
> (rt = rtcache_update(ro, 1)) == NULL) {
> dst = &udst.sin;
..
> @@ -311,8 +315,6 @@ ip_output(struct mbuf *m0, struct mbuf *
> goto bad;
I think this goto lacking a curlwp_bindx might be a problem
Home |
Main Index |
Thread Index |
Old Index