connect() returns EINVAL inappropriately

2015-01-02 Thread Harrison Grundy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 connect() returns EINVAL when called on TIMEWAIT or DROPPED sockets. Patch attached at: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196035 I'm not sure what exactly it *should* return, beyond "Not EINVAL". - ---

Call for testers: Fix incorrect error codes in connect()

2015-03-01 Thread Harrison Grundy
connect(), in both the man page and under POSIX is documented to only return EINVAL for invalid lengths of the namelen parameter, which is a fatal error. As it stands now, it will also return EINVAL when called on TIMEWAIT or DROPPED sockets. The patch at https://reviews.freebsd.org/D1982 changes

Re: tcpdump filter not ignoring jail subnet

2015-03-06 Thread Harrison Grundy
On 03/05/15 23:09, Beeblebrox wrote: > Hi. Thanks for the input. > >> 192.168.2.97 is not a net. Any /32 is a host... even if it is >> anycast. So filter on "host 192.168.2.9". > > I assume that specifying one of {src | dst} is not required and > that "host 192.168.2.97" will remove all (in and

Re: kern/119225: 7.0-RC1 no carrier with Prism 2.5 wifi card

2008-01-11 Thread Harrison Grundy
The following reply was made to PR kern/119225; it has been noted by GNATS. From: Harrison Grundy <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: Subject: Re: kern/119225: 7.0-RC1 no carrier with Prism 2.5 wifi card Date: Sat, 12 Jan 2008 07:48:32 +0900 I have seen th

[Differential] [Updated] D1982: Fix return errors in tcp_usrreq.c

2015-03-01 Thread harrison.grundy-astrodoggroup.com (Harrison Grundy)
harrison.grundy-astrodoggroup.com added a subscriber: freebsd-net. REVISION DETAIL https://reviews.freebsd.org/D1982 To: harrison.grundy-astrodoggroup.com, jch, gnn, adrian Cc: freebsd-net ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.

[Differential] [Updated, 16 lines] D1982: Fix return errors in tcp_usrreq.c

2015-03-03 Thread harrison.grundy-astrodoggroup.com (Harrison Grundy)
harrison.grundy-astrodoggroup.com updated this revision to Diff 4091. harrison.grundy-astrodoggroup.com added a comment. This revision now requires review to proceed. Remove needless ()s. CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D1982?vs=4050&id=4091 REVISION DETAIL https://revi