Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 17:38:52 -0500 (EST)
From:      "Andrew R. Reiter" <arr@FreeBSD.org>
To:        freebsd-net@FreeBSD.org
Subject:   in_pcb patch -- force sin_zero & copy
Message-ID:  <Pine.NEB.3.96L.1011105173439.82126A-100000@fledge.watson.org>

next in thread | raw e-mail | index | archive | help

This patch was "inspired by" pr 31704.  It first copies the sockaddr
structure passed into us (in_pcbbind()) and then utilizes that new
structure as the local sockaddr_in to modify/use.  Also, it forces
sin_zero to be 0, since it is meant to be a padding to sockaddr.  Could
the appropriate people check this out?  I'm currently running it now as
of 7 minutes ago -- but should not be an issue.

patch url: http://people.freebsd.org/~arr/patches/in_pcb-sin.diff

Cheers,
Andrew

--
Andrew R. Reiter
arr@watson.org
arr@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011105173439.82126A-100000>