Re: CVS commit: src/sys/net

2020-01-28 Thread Kamil Rytarowski
On 29.01.2020 07:40, Jason Thorpe wrote: > >> On Jan 28, 2020, at 10:25 PM, Kamil Rytarowski wrote: >> >> The distribution build breaks for me with: > > Should be fixed with: > > /cvsroot/src/sys/rump/net/lib/libnet/Makefile,v <-- Makefile > new revision: 1.33; previous revision: 1.32 >

Re: CVS commit: src/sys/net

2020-01-28 Thread Jason Thorpe
> On Jan 28, 2020, at 10:25 PM, Kamil Rytarowski wrote: > > The distribution build breaks for me with: Should be fixed with: /cvsroot/src/sys/rump/net/lib/libnet/Makefile,v <-- Makefile new revision: 1.33; previous revision: 1.32 >

Re: CVS commit: src/sys/net

2020-01-28 Thread Kamil Rytarowski
On 29.01.2020 04:16, Jason R Thorpe wrote: > Module Name: src > Committed By: thorpej > Date: Wed Jan 29 03:16:28 UTC 2020 > > Modified Files: > src/sys/net: Makefile files.net if.c if.h > Added Files: > src/sys/net: if_stats.c if_stats.h > > Log Message: > Add support for

Re: CVS commit: src/sys/net

2019-12-04 Thread Masanobu SAITOH
On 2019/12/05 14:29, SAITOH Masanobu wrote: > Module Name: src > Committed By: msaitoh > Date: Thu Dec 5 05:29:28 UTC 2019 > > Modified Files: > src/sys/net: if_media.h > > Log Message: > Fix previous comment change for ifm_media. It was correct. > > The real problem is that

CVS commit: src/sys/net

2019-11-29 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Nov 29 17:29:32 UTC 2019 Modified Files: src/sys/net: bpf.c Log Message: bpf can send a packet greater than MCLBYTES (JumboFrame) using multiple mbuf. To generate a diff of this commit: cvs rdiff -u -r1.231 -r1.232

CVS commit: src/sys/net

2019-11-29 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Nov 29 17:29:32 UTC 2019 Modified Files: src/sys/net: bpf.c Log Message: bpf can send a packet greater than MCLBYTES (JumboFrame) using multiple mbuf. To generate a diff of this commit: cvs rdiff -u -r1.231 -r1.232

CVS commit: src/sys/net

2019-11-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Nov 28 14:08:22 UTC 2019 Modified Files: src/sys/net: if_media.h Log Message: Fix comment. The ifm_media member of struct ifmedia is NOT user-set media word but the current "active" media. The user-set media word is one

CVS commit: src/sys/net

2019-11-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Nov 28 14:08:22 UTC 2019 Modified Files: src/sys/net: if_media.h Log Message: Fix comment. The ifm_media member of struct ifmedia is NOT user-set media word but the current "active" media. The user-set media word is one

CVS commit: src/sys/net

2019-11-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Nov 20 08:17:02 UTC 2019 Modified Files: src/sys/net: rss_config.c Log Message: "rss_symmetric_key" iniitalizer is too short. Pointed out by ryo@n.o, thanks. It is not used yet. To generate a diff of this commit: cvs

CVS commit: src/sys/net

2019-11-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Nov 20 08:17:02 UTC 2019 Modified Files: src/sys/net: rss_config.c Log Message: "rss_symmetric_key" iniitalizer is too short. Pointed out by ryo@n.o, thanks. It is not used yet. To generate a diff of this commit: cvs

CVS commit: src/sys/net

2019-11-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Nov 14 04:14:30 UTC 2019 Modified Files: src/sys/net: if_loop.c Log Message: Fix comment. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/sys/net/if_loop.c Please note that diffs are not public

CVS commit: src/sys/net

2019-11-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Nov 14 04:14:30 UTC 2019 Modified Files: src/sys/net: if_loop.c Log Message: Fix comment. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/sys/net/if_loop.c Please note that diffs are not public

CVS commit: src/sys/net

2019-11-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Nov 11 08:12:35 UTC 2019 Modified Files: src/sys/net: if_loop.c Log Message: Fix IP broadcast + checksum offload problem. When a machine sends a IP broadcast packet to an Ethernet interface that the checksum offload flags

CVS commit: src/sys/net

2019-11-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Nov 11 08:12:35 UTC 2019 Modified Files: src/sys/net: if_loop.c Log Message: Fix IP broadcast + checksum offload problem. When a machine sends a IP broadcast packet to an Ethernet interface that the checksum offload flags

CVS commit: src/sys/net

2019-11-10 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Mon Nov 11 02:34:46 UTC 2019 Modified Files: src/sys/net: if_vlan.c Log Message: Fix a bug that vlan(4) fragments IPv6 packets even the MTU > packet length. The bug is appeared when the mtu is increased on SIOCSETVLAN. >From

CVS commit: src/sys/net

2019-11-10 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Mon Nov 11 02:34:46 UTC 2019 Modified Files: src/sys/net: if_vlan.c Log Message: Fix a bug that vlan(4) fragments IPv6 packets even the MTU > packet length. The bug is appeared when the mtu is increased on SIOCSETVLAN. >From

CVS commit: src/sys/net

2019-10-21 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Oct 21 06:26:12 UTC 2019 Modified Files: src/sys/net: if_vlan.c Log Message: vlan: get rid of unnecessary if_ipackets++ in vlan_input It's done by if_input() below now. Pointed out by msaitoh@ To generate a diff of this

CVS commit: src/sys/net

2019-10-21 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Oct 21 06:26:12 UTC 2019 Modified Files: src/sys/net: if_vlan.c Log Message: vlan: get rid of unnecessary if_ipackets++ in vlan_input It's done by if_input() below now. Pointed out by msaitoh@ To generate a diff of this

CVS commit: src/sys/net

2019-10-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Oct 16 06:53:34 UTC 2019 Modified Files: src/sys/net: if_gre.c if_l2tp.c if_tap.c Log Message: Fix missing kpreempt_disable() before softint_schedule() like if_vmx.c:r1.51. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/net

2019-10-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 14 16:43:04 UTC 2019 Modified Files: src/sys/net: rtsock_shared.c Log Message: Error out if the type is beyond the storage size. No functional change, since the shift would otherwise 'and' against zero, returning EEXIST.

CVS commit: src/sys/net

2019-10-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 14 16:43:04 UTC 2019 Modified Files: src/sys/net: rtsock_shared.c Log Message: Error out if the type is beyond the storage size. No functional change, since the shift would otherwise 'and' against zero, returning EEXIST.

CVS commit: src/sys/net

2019-10-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 3 14:41:14 UTC 2019 Modified Files: src/sys/net: if_media.h Log Message: Add IFM_IEEE80211_VHT subtype, IFM_IEEE80211_11AC operating mode, and missing descriptions To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/net

2019-10-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 3 14:41:14 UTC 2019 Modified Files: src/sys/net: if_media.h Log Message: Add IFM_IEEE80211_VHT subtype, IFM_IEEE80211_11AC operating mode, and missing descriptions To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/net

2019-10-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Oct 3 03:10:02 UTC 2019 Modified Files: src/sys/net: route.c Log Message: Revert route.c:r1.224 to fix net/arp/t_arp and net/ndp/t_ndp failure. And refactor a little. Discussed with ozaki-r@n.o. To generate a diff of

CVS commit: src/sys/net

2019-10-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Oct 3 03:10:02 UTC 2019 Modified Files: src/sys/net: route.c Log Message: Revert route.c:r1.224 to fix net/arp/t_arp and net/ndp/t_ndp failure. And refactor a little. Discussed with ozaki-r@n.o. To generate a diff of

CVS commit: src/sys/net

2019-10-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Oct 2 04:17:16 UTC 2019 Modified Files: src/sys/net: if_ethersubr.c Log Message: Print oversized frame's message only when DIAGNOSTIC is set. The message is not so important because we increment if_iqdrops now. To

CVS commit: src/sys/net

2019-10-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Oct 2 04:17:16 UTC 2019 Modified Files: src/sys/net: if_ethersubr.c Log Message: Print oversized frame's message only when DIAGNOSTIC is set. The message is not so important because we increment if_iqdrops now. To

CVS commit: src/sys/net

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 17:45:25 UTC 2019 Modified Files: src/sys/net: if_media.c Log Message: in ifmedia_add(), use a wait-style memory allocation rather than not waiting and panic'ing if the allocation fails. Reported-by:

CVS commit: src/sys/net

2019-10-01 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Tue Oct 1 17:45:25 UTC 2019 Modified Files: src/sys/net: if_media.c Log Message: in ifmedia_add(), use a wait-style memory allocation rather than not waiting and panic'ing if the allocation fails. Reported-by:

CVS commit: src/sys/net

2019-10-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Oct 1 16:02:55 UTC 2019 Modified Files: src/sys/net: dlt.h Log Message: sync with libcap-1.9.1 To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/net/dlt.h Please note that diffs are not public

CVS commit: src/sys/net

2019-10-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Oct 1 16:02:55 UTC 2019 Modified Files: src/sys/net: dlt.h Log Message: sync with libcap-1.9.1 To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/net/dlt.h Please note that diffs are not public

CVS commit: src/sys/net

2019-10-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Oct 1 08:13:16 UTC 2019 Modified Files: src/sys/net: if_ethersubr.c Log Message: Increment if_iqdrops when dropping an oversized frame. To generate a diff of this commit: cvs rdiff -u -r1.276 -r1.277

CVS commit: src/sys/net

2019-10-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Oct 1 08:13:16 UTC 2019 Modified Files: src/sys/net: if_ethersubr.c Log Message: Increment if_iqdrops when dropping an oversized frame. To generate a diff of this commit: cvs rdiff -u -r1.276 -r1.277

CVS commit: src/sys/net/npf

2019-09-30 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Sep 30 22:04:33 UTC 2019 Modified Files: src/sys/net/npf: npf_if.c Log Message: npf_ifmap_copylogname: be more defensive. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/net/npf/npf_if.c Please note

CVS commit: src/sys/net/npf

2019-09-30 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Sep 30 22:04:33 UTC 2019 Modified Files: src/sys/net/npf: npf_if.c Log Message: npf_ifmap_copylogname: be more defensive. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/net/npf/npf_if.c Please note

CVS commit: src/sys/net

2019-09-30 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Sep 30 10:22:14 UTC 2019 Modified Files: src/sys/net: route.c Log Message: Fix a ifa_release() leak for a specific struct rt_addrinfo. ok by ozaki-r@n.o To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224

CVS commit: src/sys/net

2019-09-30 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Sep 30 10:22:14 UTC 2019 Modified Files: src/sys/net: route.c Log Message: Fix a ifa_release() leak for a specific struct rt_addrinfo. ok by ozaki-r@n.o To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224

CVS commit: src/sys/net/npf

2019-09-29 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Sep 29 17:00:29 UTC 2019 Modified Files: src/sys/net/npf: npf_conn.c npf_if.c npf_impl.h npf_ruleset.c Log Message: NPF ifmap: rework and fix a few small bugs. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/net/npf

2019-09-29 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Sep 29 17:00:29 UTC 2019 Modified Files: src/sys/net/npf: npf_conn.c npf_if.c npf_impl.h npf_ruleset.c Log Message: NPF ifmap: rework and fix a few small bugs. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/net/npf

2019-09-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 26 18:44:45 UTC 2019 Modified Files: src/sys/net/npf: npf_mbuf.c Log Message: Cast m_mbuflen() result to "size_t". It could also be "u_int" since it is assigned to "u_int", but all the other "standalone" equivalent

CVS commit: src/sys/net/npf

2019-09-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 26 18:44:45 UTC 2019 Modified Files: src/sys/net/npf: npf_mbuf.c Log Message: Cast m_mbuflen() result to "size_t". It could also be "u_int" since it is assigned to "u_int", but all the other "standalone" equivalent

Re: CVS commit: src/sys/net

2019-09-23 Thread Ryota Ozaki
On Mon, Sep 23, 2019 at 4:14 PM Kamil Rytarowski wrote: > > On 23.09.2019 06:53, Rin Okuyama wrote: > > Hi, > > > > On 2019/09/22 18:30, Kamil Rytarowski wrote: > >> On 12.04.2018 06:38, Ryota Ozaki wrote: > >>> Module Name:src > >>> Committed By:ozaki-r > >>> Date:Thu Apr 12

Re: CVS commit: src/sys/net

2019-09-23 Thread Kamil Rytarowski
On 23.09.2019 06:53, Rin Okuyama wrote: > Hi, > > On 2019/09/22 18:30, Kamil Rytarowski wrote: >> On 12.04.2018 06:38, Ryota Ozaki wrote: >>> Module Name:    src >>> Committed By:    ozaki-r >>> Date:    Thu Apr 12 04:38:13 UTC 2018 >>> >>> Modified Files: >>> src/sys/net: if.h route.c

CVS commit: src/sys/net

2019-09-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Sep 23 05:00:20 UTC 2019 Modified Files: src/sys/net: route.c Log Message: Stop passing a large const structure by value, in order to avoid possible kernel stack overflow; const pointer is suffice here. Pointed out by the lgtm

CVS commit: src/sys/net

2019-09-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Sep 23 05:00:20 UTC 2019 Modified Files: src/sys/net: route.c Log Message: Stop passing a large const structure by value, in order to avoid possible kernel stack overflow; const pointer is suffice here. Pointed out by the lgtm

Re: CVS commit: src/sys/net

2019-09-22 Thread Rin Okuyama
Hi, On 2019/09/22 18:30, Kamil Rytarowski wrote: On 12.04.2018 06:38, Ryota Ozaki wrote: Module Name:src Committed By: ozaki-r Date: Thu Apr 12 04:38:13 UTC 2018 Modified Files: src/sys/net: if.h route.c route.h rtsock.c Log Message: Resolve tangled lock dependencies

Re: CVS commit: src/sys/net

2019-09-22 Thread Kamil Rytarowski
On 12.04.2018 06:38, Ryota Ozaki wrote: > Module Name: src > Committed By: ozaki-r > Date: Thu Apr 12 04:38:13 UTC 2018 > > Modified Files: > src/sys/net: if.h route.c route.h rtsock.c > > Log Message: > Resolve tangled lock dependencies in route.c > > This change sweeps

CVS commit: src/sys/net

2019-09-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Sep 20 08:45:30 UTC 2019 Modified Files: src/sys/net: if_ppp.c ppp_tty.c Log Message: dedup To generate a diff of this commit: cvs rdiff -u -r1.165 -r1.166 src/sys/net/if_ppp.c cvs rdiff -u -r1.65 -r1.66 src/sys/net/ppp_tty.c

CVS commit: src/sys/net

2019-09-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Sep 20 08:45:30 UTC 2019 Modified Files: src/sys/net: if_ppp.c ppp_tty.c Log Message: dedup To generate a diff of this commit: cvs rdiff -u -r1.165 -r1.166 src/sys/net/if_ppp.c cvs rdiff -u -r1.65 -r1.66 src/sys/net/ppp_tty.c

CVS commit: src/sys/net

2019-09-19 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Sep 19 06:09:52 UTC 2019 Modified Files: src/sys/net: if_l2tp.c Log Message: l2tp(4): avoid having struct ifqueue directly in a percpu storage. percpu(9) has a certain memory storage for each CPU and provides it by the

CVS commit: src/sys/net

2019-09-19 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Sep 19 06:09:52 UTC 2019 Modified Files: src/sys/net: if_l2tp.c Log Message: l2tp(4): avoid having struct ifqueue directly in a percpu storage. percpu(9) has a certain memory storage for each CPU and provides it by the

CVS commit: src/sys/net

2019-09-18 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Sep 19 04:59:42 UTC 2019 Modified Files: src/sys/net: if_l2tp.c if_l2tp.h Log Message: Divide Tx context of l2tp(4) to improve performance. It seems l2tp(4) call path is too long for instruction cache. So, dividing

CVS commit: src/sys/net

2019-09-18 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Sep 19 04:59:42 UTC 2019 Modified Files: src/sys/net: if_l2tp.c if_l2tp.h Log Message: Divide Tx context of l2tp(4) to improve performance. It seems l2tp(4) call path is too long for instruction cache. So, dividing

CVS commit: src/sys/net

2019-09-18 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Sep 19 04:46:29 UTC 2019 Modified Files: src/sys/net: route.c Log Message: Add missing #include To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/sys/net/route.c Please note that diffs are not public

CVS commit: src/sys/net

2019-09-18 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Sep 19 04:46:29 UTC 2019 Modified Files: src/sys/net: route.c Log Message: Add missing #include To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/sys/net/route.c Please note that diffs are not public

CVS commit: src/sys/net

2019-09-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Sep 13 06:39:29 UTC 2019 Modified Files: src/sys/net: bpf.c Log Message: As I suspected, the KASSERT I added yesterday can fire if we try to process zero-sized packets. Skip them to prevent a type confusion that can trigger

CVS commit: src/sys/net

2019-09-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Sep 13 06:39:29 UTC 2019 Modified Files: src/sys/net: bpf.c Log Message: As I suspected, the KASSERT I added yesterday can fire if we try to process zero-sized packets. Skip them to prevent a type confusion that can trigger

CVS commit: src/sys/net

2019-09-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 12 07:38:19 UTC 2019 Modified Files: src/sys/net: bpf.c Log Message: Add KASSERT to catch bugs. Something tells me it could easily fire. To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/sys/net/bpf.c

CVS commit: src/sys/net

2019-09-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 12 07:38:19 UTC 2019 Modified Files: src/sys/net: bpf.c Log Message: Add KASSERT to catch bugs. Something tells me it could easily fire. To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/sys/net/bpf.c

CVS commit: src/sys/net/npf

2019-08-25 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 25 17:38:25 UTC 2019 Modified Files: src/sys/net/npf: npf_ctl.c npf_impl.h npf_os.c Log Message: ake npfctl_switch() and pfil private to OS-specific module. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/sys/net/npf

2019-08-25 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 25 17:38:25 UTC 2019 Modified Files: src/sys/net/npf: npf_ctl.c npf_impl.h npf_os.c Log Message: ake npfctl_switch() and pfil private to OS-specific module. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/sys/net

2019-08-22 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Aug 23 02:33:16 UTC 2019 Modified Files: src/sys/net: if_vlan.c Log Message: - kmem_alloc(,KM_SLEEP) never return NULL, so remove NULL check. - VLAN ID is never duplicated, so break the loop when found. Also move

CVS commit: src/sys/net

2019-08-22 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Aug 23 02:33:16 UTC 2019 Modified Files: src/sys/net: if_vlan.c Log Message: - kmem_alloc(,KM_SLEEP) never return NULL, so remove NULL check. - VLAN ID is never duplicated, so break the loop when found. Also move

CVS commit: src/sys/net

2019-08-20 Thread Roy Marples
Module Name:src Committed By: roy Date: Tue Aug 20 10:59:00 UTC 2019 Modified Files: src/sys/net: if.c Log Message: if: announce flag changes other than up or down For example toggling promiscuous mode or disabling ARP. XXX Pullup -9 To generate a diff of this commit:

CVS commit: src/sys/net

2019-08-20 Thread Roy Marples
Module Name:src Committed By: roy Date: Tue Aug 20 10:59:00 UTC 2019 Modified Files: src/sys/net: if.c Log Message: if: announce flag changes other than up or down For example toggling promiscuous mode or disabling ARP. XXX Pullup -9 To generate a diff of this commit:

CVS commit: src/sys/net

2019-08-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Aug 20 03:56:59 UTC 2019 Modified Files: src/sys/net: if_vlan.c Log Message: Add missing IFNET_LOCK() and IFNET_UNLOCK() in vlan_config(). XXX pullup-9 To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143

CVS commit: src/sys/net

2019-08-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Aug 20 03:56:59 UTC 2019 Modified Files: src/sys/net: if_vlan.c Log Message: Add missing IFNET_LOCK() and IFNET_UNLOCK() in vlan_config(). XXX pullup-9 To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143

CVS commit: src/sys/net

2019-08-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Aug 20 03:50:55 UTC 2019 Modified Files: src/sys/net: if_vlan.c Log Message: Check ec_capenable instead of ec_capabilities to control TX side of VLAN HW tagging correctly. XXX pullup-9 To generate a diff of this commit:

CVS commit: src/sys/net

2019-08-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Aug 20 03:50:55 UTC 2019 Modified Files: src/sys/net: if_vlan.c Log Message: Check ec_capenable instead of ec_capabilities to control TX side of VLAN HW tagging correctly. XXX pullup-9 To generate a diff of this commit:

CVS commit: src/sys/net

2019-08-18 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Aug 19 03:24:05 UTC 2019 Modified Files: src/sys/net: if_l2tp.c Log Message: l2tp: initialize mowner variables for MBUFTRACE To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/net/if_l2tp.c Please note

CVS commit: src/sys/net

2019-08-18 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Aug 19 03:24:05 UTC 2019 Modified Files: src/sys/net: if_l2tp.c Log Message: l2tp: initialize mowner variables for MBUFTRACE To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/net/if_l2tp.c Please note

CVS commit: src/sys/net

2019-08-14 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Aug 15 04:20:59 UTC 2019 Modified Files: src/sys/net: if.c Log Message: Restore if_ioctl on error of ifc_destroy Otherwise subsequence ioctls won't work. Patch from Harold Gutch on PR kern/54434 (tweaked a bit by me) To

CVS commit: src/sys/net

2019-08-14 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Aug 15 04:20:59 UTC 2019 Modified Files: src/sys/net: if.c Log Message: Restore if_ioctl on error of ifc_destroy Otherwise subsequence ioctls won't work. Patch from Harold Gutch on PR kern/54434 (tweaked a bit by me) To

CVS commit: src/sys/net

2019-08-09 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Aug 10 01:04:05 UTC 2019 Modified Files: src/sys/net: if_media.c Log Message: rename _ifmedia_ioctl() to ifmedia_ioctl_locked(). To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/net/if_media.c Please note

CVS commit: src/sys/net

2019-08-09 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Aug 10 01:04:05 UTC 2019 Modified Files: src/sys/net: if_media.c Log Message: rename _ifmedia_ioctl() to ifmedia_ioctl_locked(). To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/net/if_media.c Please note

Re: CVS commit: src/sys/net/npf

2019-08-06 Thread Maxime Villard
Le 06/08/2019 à 12:31, Christos Zoulas a écrit : I did not see any messages about it, and the fix is fine until rmind comes up with something better. Yes turns out it was an off-list email It is not nice to have HEAD unusable for 2 weeks now (since July 22nd). Given your second commit, I

Re: CVS commit: src/sys/net/npf

2019-08-06 Thread Christos Zoulas
Yes, rmind asked me to commit the change in private email. christos > On Aug 6, 2019, at 3:59 PM, Maxime Villard wrote: > > Le 06/08/2019 à 12:31, Christos Zoulas a écrit : >> I did not see any messages about it, and the fix is fine until rmind comes >> up with something better. > > Yes

CVS commit: src/sys/net/npf

2019-08-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 6 11:40:15 UTC 2019 Modified Files: src/sys/net/npf: npf.c npf_conn.c npf_conn.h Log Message: - npf_conn_init(): fix a race when initialising the G/C thread. - Fix a bug when partially initialised connection is

CVS commit: src/sys/net/npf

2019-08-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 6 11:40:15 UTC 2019 Modified Files: src/sys/net/npf: npf.c npf_conn.c npf_conn.h Log Message: - npf_conn_init(): fix a race when initialising the G/C thread. - Fix a bug when partially initialised connection is

Re: CVS commit: src/sys/net/npf

2019-08-06 Thread Christos Zoulas
I did not see any messages about it, and the fix is fine until rmind comes up with something better. It is not nice to have HEAD unusable for 2 weeks now (since July 22nd). christos > On Aug 6, 2019, at 1:26 PM, Maxime Villard wrote: > > Le 06/08/2019 à 12:25, Christos Zoulas a écrit : >>

Re: CVS commit: src/sys/net/npf

2019-08-06 Thread Maxime Villard
Le 06/08/2019 à 12:25, Christos Zoulas a écrit : Module Name:src Committed By: christos Date: Tue Aug 6 10:25:13 UTC 2019 Modified Files: src/sys/net/npf: npf_conn.c Log Message: Introduce an npf_conn_destroy_idx() that can handle partially constructed conn structures.

CVS commit: src/sys/net/npf

2019-08-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 6 10:25:13 UTC 2019 Modified Files: src/sys/net/npf: npf_conn.c Log Message: Introduce an npf_conn_destroy_idx() that can handle partially constructed conn structures. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/net/npf

2019-08-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 6 10:25:13 UTC 2019 Modified Files: src/sys/net/npf: npf_conn.c Log Message: Introduce an npf_conn_destroy_idx() that can handle partially constructed conn structures. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/net

2019-08-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Aug 5 13:30:21 UTC 2019 Modified Files: src/sys/net: if_bridge.c Log Message: Cast uint32_t to avoid undefined behavior in bridge_rthash(). Found by kUBSan. To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165

CVS commit: src/sys/net

2019-08-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Aug 5 13:30:21 UTC 2019 Modified Files: src/sys/net: if_bridge.c Log Message: Cast uint32_t to avoid undefined behavior in bridge_rthash(). Found by kUBSan. To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165

CVS commit: src/sys/net

2019-08-01 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Fri Aug 2 02:17:46 UTC 2019 Modified Files: src/sys/net: raw_usrreq.c Log Message: Fix typo (s/m_free/m_freem/) (one more) To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/net/raw_usrreq.c Please note

CVS commit: src/sys/net

2019-08-01 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Fri Aug 2 02:17:46 UTC 2019 Modified Files: src/sys/net: raw_usrreq.c Log Message: Fix typo (s/m_free/m_freem/) (one more) To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/net/raw_usrreq.c Please note

CVS commit: src/sys/net

2019-08-01 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Fri Aug 2 01:55:01 UTC 2019 Modified Files: src/sys/net: raw_usrreq.c Log Message: Fix typo (s/m_free/m_freem/) This fixes PR kern/54419 "mbuf leak when deleting route" from sc dying. To generate a diff of this commit: cvs

CVS commit: src/sys/net

2019-08-01 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Fri Aug 2 01:55:01 UTC 2019 Modified Files: src/sys/net: raw_usrreq.c Log Message: Fix typo (s/m_free/m_freem/) This fixes PR kern/54419 "mbuf leak when deleting route" from sc dying. To generate a diff of this commit: cvs

CVS commit: src/sys/net

2019-07-25 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Jul 25 07:45:57 UTC 2019 Modified Files: src/sys/net: if.c Log Message: micro-optimization for if_snd_is_used() To generate a diff of this commit: cvs rdiff -u -r1.456 -r1.457 src/sys/net/if.c Please note that diffs are

CVS commit: src/sys/net

2019-07-25 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Jul 25 07:45:57 UTC 2019 Modified Files: src/sys/net: if.c Log Message: micro-optimization for if_snd_is_used() To generate a diff of this commit: cvs rdiff -u -r1.456 -r1.457 src/sys/net/if.c Please note that diffs are

CVS commit: src/sys/net/npf

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Jul 25 01:00:28 UTC 2019 Modified Files: src/sys/net/npf: npf_portmap.c Log Message: npf_portmap_flush: remove invalid assert (this routine can be callied via the npf_destroy() path where the constraint is not applicable).

CVS commit: src/sys/net/npf

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Jul 25 01:00:28 UTC 2019 Modified Files: src/sys/net/npf: npf_portmap.c Log Message: npf_portmap_flush: remove invalid assert (this routine can be callied via the npf_destroy() path where the constraint is not applicable).

CVS commit: src/sys/net/npf

2019-07-23 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Tue Jul 23 08:25:52 UTC 2019 Modified Files: src/sys/net/npf: npf_portmap.c Log Message: NPF portmap: add a workaround for archs without 64-bit CAS. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/net/npf

2019-07-23 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Tue Jul 23 08:25:52 UTC 2019 Modified Files: src/sys/net/npf: npf_portmap.c Log Message: NPF portmap: add a workaround for archs without 64-bit CAS. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/net

2019-07-18 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Jul 18 06:47:10 UTC 2019 Modified Files: src/sys/net: if_llatbl.h Log Message: Show pointers of llentries on trace logs of LLE_REF_TRACE To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/net/if_llatbl.h

CVS commit: src/sys/net

2019-07-18 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Jul 18 06:47:10 UTC 2019 Modified Files: src/sys/net: if_llatbl.h Log Message: Show pointers of llentries on trace logs of LLE_REF_TRACE To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/net/if_llatbl.h

CVS commit: src/sys/net

2019-07-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 10 17:55:33 UTC 2019 Modified Files: src/sys/net: bpf.c Log Message: Fix info leak: use kmem_zalloc, because we align the buffers, and the otherwise uninitialized padding bytes get copied to userland in bpf_read(). To

CVS commit: src/sys/net

2019-07-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 10 17:55:33 UTC 2019 Modified Files: src/sys/net: bpf.c Log Message: Fix info leak: use kmem_zalloc, because we align the buffers, and the otherwise uninitialized padding bytes get copied to userland in bpf_read(). To

CVS commit: src/sys/net

2019-06-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jun 25 12:30:50 UTC 2019 Modified Files: src/sys/net: if_gif.c if_ipsec.c if_l2tp.c if_ppp.c if_vlan.c Log Message: Simplify "LIST_HEAD();" to make the code more understandable. No functional change. To generate a diff of

  1   2   3   >