git: DragonFly_RELEASE_5_2 libc - MFC resolver fix

2018-07-17 Thread Matthew Dillon
commit 17d3863762072eb60c4e1d0cf75b5035bbb20352 Author: Matthew Dillon Date: Tue Jul 17 11:37:20 2018 -0700 libc - MFC resolver fix * Allows intermediate domain names with an underscore. * Fixes lookups of 'www.office.com' and 'www.newegg.com', and probably other

git: libc - MFC resolver fix

2018-07-17 Thread Matthew Dillon
commit 8cddcf7dda217902aa4117cc96964da561b9cb9d Author: Matthew Dillon Date: Tue Jul 17 11:37:20 2018 -0700 libc - MFC resolver fix * Allows intermediate domain names with an underscore. * Fixes lookups of 'www.office.com' and 'www.newegg.com', and probably other

git: Revert "if_tap: Get rid of arpcom struct from tap_softc struct"

2018-07-17 Thread Aaron LI
commit b2bc15c2300414fe7db1f51249754f8a81f824a2 Author: Aaron LI Date: Tue Jul 17 17:58:35 2018 +0800 Revert "if_tap: Get rid of arpcom struct from tap_softc struct" This reverts commit 78e1ab4a8fc0074361116dedb55e6dc02baea351, with minor adjustments to reduce the diff.

git: ioctl.9: Remove some obsolete commented out info.

2018-07-17 Thread Sascha Wildner
commit 9867140b54e9995390a971aa7e7d03870aa9ee00 Author: Sascha Wildner Date: Tue Jul 17 11:23:47 2018 +0200 ioctl.9: Remove some obsolete commented out info. Summary of changes: share/man/man9/ioctl.9 | 2 -- 1 file changed, 2 deletions(-)

Re: git: if_tap: Get rid of arpcom struct from tap_softc struct

2018-07-17 Thread Sepherosa Ziehau
There is IPv6 code too, assumes the existence of arpcom. So I suggest to revert this commit. If you do want to get rid of arpcom, we will have to make the stack change first; instead of starting from drivers. IFP2AC() == cast ifnet to arpcom. Thanks, sephe On Tue, Jul 17, 2018 at 4:57 PM,

Re: git: if_tap: Get rid of arpcom struct from tap_softc struct

2018-07-17 Thread Sepherosa Ziehau
You are breaking the ether_ifattach() of the tap interface; last time I checked, this will break IPv6 stuff too, which assume the existence of arpcom. On Tue, Jul 17, 2018 at 2:58 PM, Aaron LI wrote: > > commit 78e1ab4a8fc0074361116dedb55e6dc02baea351 > Author: Aaron LI > Date: Sun Jul 8

git: if_tap: Some small tweaks and cleanups

2018-07-17 Thread Aaron LI
commit cd086e3c60be82d5effacbacf80dc20dd2584d33 Author: Aaron LI Date: Sat Jul 7 18:57:10 2018 +0800 if_tap: Some small tweaks and cleanups * Consistently use the TAP define instead of "tap", also remove the CDEV_NAME define. * Consistently use "tap_if" instead of

git: if_tap: Return error instead of system panic

2018-07-17 Thread Aaron LI
commit fba81a1c19f7e2d4ab3b6a9c9c74a3f99b21b5b5 Author: Aaron LI Date: Sun Jul 8 16:37:24 2018 +0800 if_tap: Return error instead of system panic Return error when failed to create/find the device and to allocate the interface struct, instead of system panic. Summary of

git: if_tap: Add TAPGIFNAME ioctl to get interface name

2018-07-17 Thread Aaron LI
commit 96426785f2f8f03294e71daf889b364b5436d269 Author: Aaron LI Date: Fri Jul 13 15:43:07 2018 +0800 if_tap: Add TAPGIFNAME ioctl to get interface name This is a convenient shortcut to obtain the network interface name using file descriptor for character device.

git: if_tap: Remove redundant unit from tapcreate() and tun_softc

2018-07-17 Thread Aaron LI
commit 2752171e8d2593dd8d6fe98cbd82c50bc64e7873 Author: Aaron LI Date: Sun Jul 8 15:16:56 2018 +0800 if_tap: Remove redundant unit from tapcreate() and tun_softc The tap interface unit number is the same as minor number of the associated tap device, so remove the redundant

git: if_tap: Disallow change network device type

2018-07-17 Thread Aaron LI
commit fbae8fc9ab5d7b5dd6de56568897941ff6311568 Author: Aaron LI Date: Tue Jul 17 14:29:44 2018 +0800 if_tap: Disallow change network device type Disallow ioctl(2) to change the network device type of tap(4). Otherwise, page faults and panics can happen when access

git: if_tap: Remove global variable "taplastunit"

2018-07-17 Thread Aaron LI
commit 117648afe306031fd5adc9ded94fc114919f694c Author: Aaron LI Date: Sat Jul 7 20:21:45 2018 +0800 if_tap: Remove global variable "taplastunit" This global variable isn't helpful. In addition, the tap units can be non-continuous. Summary of changes: sys/net/tap/if_tap.c

git: if_tap: Destroy the autoclone device when unload module

2018-07-17 Thread Aaron LI
commit a77c4ded301e67d4185b9228fbcb26ba74c09b55 Author: Aaron LI Date: Sun Jul 8 12:30:55 2018 +0800 if_tap: Destroy the autoclone device when unload module Use destroy_autoclone_dev(), which replaces both devfs_clone_handler_del() and devfs_clone_bitmap_uninit(), to destroy

git: if_tap: Add read-only sysctl net.link.tap.refcnt

2018-07-17 Thread Aaron LI
commit f6efdc20c8dd2bfbdb1f8d88dd5154c4a1846131 Author: Aaron LI Date: Sun Jul 8 10:05:31 2018 +0800 if_tap: Add read-only sysctl net.link.tap.refcnt Expose the number of opened devices as a read-only sysctl: net.link.tap.refcnt. Improve the debug messages with

git: if_tap: Remove the broken vmnet support

2018-07-17 Thread Aaron LI
commit ad592396e62fe7ef868d5cf3111fb93ce3020f94 Author: Aaron LI Date: Fri Jul 13 13:04:35 2018 +0800 if_tap: Remove the broken vmnet support The vmnet feature provided by tap(4) was intended to be used by the VMWare port that runs as the server side to communicate with its

git: if_tap: Update tap.4 man page to match the code

2018-07-17 Thread Aaron LI
commit f892bb77a871d61424d8de69d00ff4989f595f16 Author: Aaron LI Date: Mon Jul 9 18:53:42 2018 +0800 if_tap: Update tap.4 man page to match the code Remove the description on FIONBIO ioctl since ours doesn't support it. Mainly taken from FreeBSD, with some improvements.

git: if_tap: Get rid of arpcom struct from tap_softc struct

2018-07-17 Thread Aaron LI
commit 78e1ab4a8fc0074361116dedb55e6dc02baea351 Author: Aaron LI Date: Sun Jul 8 14:09:29 2018 +0800 if_tap: Get rid of arpcom struct from tap_softc struct Remove the ancient arpcom struct from the tap_softc struct, meanwhile introduce the "tap_ifp" member that points to the