+++ src/usr.sbin/npf/npf-params.7 Sun May 31 15:57:15 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: npf-params.7,v 1.4 2020/05/30 14:16:56 rmind Exp $
+.\" $NetBSD: npf-params.7,v 1.5 2020/05/31 15:57:15 rmind Exp $
.\"
.\" Copyright (c) 2019 Mindaugas Rasiukevicius
.\" All r
Module Name:src
Committed By: rmind
Date: Sat May 30 21:00:31 UTC 2020
Modified Files:
src/usr.sbin/npf/npftest/libnpftest: npf_test_subr.c
Log Message:
npftest -- npf_test_init(): add a workaround for NetBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.17
Module Name:src
Committed By: rmind
Date: Sat May 30 20:54:54 UTC 2020
Modified Files:
src/sys/net/npf: npf_worker.c
Log Message:
npf_worker_sys{init,fini}: initialize/destroy the exit_cv condvar.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
Module Name:src
Committed By: rmind
Date: Sun May 24 15:35:40 UTC 2020
Modified Files:
src/usr.sbin/npf/npfctl: npf_scan.l
Log Message:
PR/55288: npfctl: change parameter syntax to be more permissive.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31
Module Name:src
Committed By: rmind
Date: Sat May 23 19:56:00 UTC 2020
Modified Files:
src/sys/net/npf: npf_conf.c npf_conn.c npf_conn.h npf_conndb.c
npf_inet.c npf_nat.c
src/usr.sbin/npf/npfctl: npf_build.c npf_show.c npfctl.h
Log Message:
Backport
$ */
+/* $NetBSD: subr_thmap.c,v 1.6 2020/05/23 19:52:12 rmind Exp $ */
/*-
* Copyright (c) 2018 Mindaugas Rasiukevicius
@@ -53,7 +53,7 @@
* re-try from the root; this is a case for deletions and is achieved
* using the NODE_DELETED flag.
*
- * iii) the node destruction must be synchronised
Module Name:src
Committed By: rmind
Date: Sun Apr 7 22:23:40 UTC 2019
Modified Files:
src/usr.sbin/npf/npfctl: npf.conf.5
Log Message:
npf.conf(5): Add more info about ifaddrs().
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85
Module Name:src
Committed By: rmind
Date: Fri Feb 15 22:49:24 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nvpair.c
Log Message:
nvpair_remove_nvlist_array: revert part of the rev 1.4 change (it was applied
by mistake because the libnv upsteam code on Github
Module Name:src
Committed By: rmind
Date: Tue Feb 12 12:52:49 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nvpair.c
Log Message:
libnv: Free the data array for NV_TYPE_DESCRIPTOR_ARRAY case.
Obtained from FreeBSD rev 343987 by oshogbo@.
To generate a diff
Module Name:src
Committed By: rmind
Date: Tue Feb 12 12:49:23 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nv_impl.h nvlist.c nvpair.c
Log Message:
libnv: fix multiple memory leaks.
- nvpair_create_stringv: free the temporary string; this fix affects
Module Name:src
Committed By: rmind
Date: Sat Jan 19 21:36:09 UTC 2019
Modified Files:
src/doc: CHANGES
Log Message:
Mention NPF improvements.
To generate a diff of this commit:
cvs rdiff -u -r1.2491 -r1.2492 src/doc/CHANGES
Please note that diffs are not public
/kern/subr_thmap.c Sat Jan 19 20:42:54 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_thmap.c,v 1.3 2018/12/22 21:53:06 christos Exp $ */
+/* $NetBSD: subr_thmap.c,v 1.4 2019/01/19 20:42:54 rmind Exp $ */
/*-
* Copyright (c) 2018 Mindaugas Rasiukevicius
@@ -112,7 +112,7 @@
#include "utils.h&quo
.c
diff -u /dev/null src/sys/kern/subr_thmap.c:1.1
--- /dev/null Sun Dec 16 14:06:56 2018
+++ src/sys/kern/subr_thmap.c Sun Dec 16 14:06:56 2018
@@ -0,0 +1,934 @@
+/*-
+ * Copyright (c) 2018 Mindaugas Rasiukevicius
+ * All rights reserved.
+ *
+ * Redistribution and use in source and bi
Module Name:src
Committed By: rmind
Date: Sat Sep 29 18:48:55 UTC 2018
Modified Files:
src/doc: CHANGES
Log Message:
Mention that NPF was converted to use libnv.
To generate a diff of this commit:
cvs rdiff -u -r1.2443 -r1.2444 src/doc/CHANGES
Please note that diffs
Module Name:src
Committed By: rmind
Date: Sat Sep 29 18:00:36 UTC 2018
Modified Files:
src/sys/net/npf: npf_sendpkt.c
Log Message:
npf_return_tcp: fix no-INET6 case.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/net/npf/npf_sendpkt.c
Please note
Module Name:src
Committed By: rmind
Date: Sun Sep 23 21:35:26 UTC 2018
Modified Files:
src/sys/external/bsd/libnv/dist: nv_kern_netbsd.c
Log Message:
nvlist_copyin: fix the flag handling.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rmind
Date: Sun Sep 23 19:07:10 UTC 2018
Modified Files:
src/sys/external/bsd/libnv/dist: nv_impl.h nv_kern_netbsd.c
Log Message:
libnv: add a wrapper around free(9) since in FreeBSD it can take NULL.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rmind
Date: Sat Sep 22 17:13:30 UTC 2018
Modified Files:
src/sys/external/bsd/libnv/dist: nv_impl.h nv_kern_netbsd.c nvlist.c
Log Message:
libnv: fix some NetBSD wrappers.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: rmind
Date: Sat Sep 22 12:54:34 UTC 2018
Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/comp: mi shl.mi
src/distrib/sets/lists/debug: mi shl.mi
src/sys/rump/kern: Makefile.rumpkerncomp
Added
Module Name:src
Committed By: rmind
Date: Sat Sep 1 16:28:57 UTC 2018
Modified Files:
src/usr.sbin/npf/npfctl: npf.conf.5
Log Message:
npf.conf(5): fix some of the previous incorrect or inaccurate changes.
The TCP flags option is not only for the stateful tracking.
Module Name:src
Committed By: rmind
Date: Thu Mar 29 21:40:53 UTC 2018
Modified Files:
src/sys/netinet: tcp_input.c
Log Message:
tcp_urp_drop: fix a bug introduced in 1.390 rev (hi maxv@).
To generate a diff of this commit:
cvs rdiff -u -r1.400 -r1.401
Module Name:src
Committed By: rmind
Date: Sun Dec 10 22:04:41 UTC 2017
Modified Files:
src/usr.sbin/npf: npf.7
src/usr.sbin/npf/npfctl: npf.conf.5 npf_build.c npf_parse.y npf_scan.l
npf_show.c npfctl.8 npfctl.h todo
Log Message:
npfctl: add support for
Module Name:src
Committed By: rmind
Date: Sun Dec 10 01:18:21 UTC 2017
Modified Files:
src/sys/net/npf: npf_ctl.c npf_impl.h npf_ruleset.c npf_worker.c
Log Message:
- npf_mk_rules: enforce unique names for the dynamic rulesets.
- npf_worker_unregister: merge fix for the
0:15:54 2017
+++ src/sys/net/npf/npf_conn.c Sun Dec 10 00:07:36 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_conn.c,v 1.23 2017/01/29 00:15:54 christos Exp $ */
+/* $NetBSD: npf_conn.c,v 1.24 2017/12/10 00:07:36 rmind Exp $ */
/*-
* Copyright (c) 2014-2015 Mindaugas Rasiukevicius
@@ -100,7 +100,7 @@
Module Name:src
Committed By: rmind
Date: Thu Dec 7 00:22:06 UTC 2017
Modified Files:
src/lib/libnpf: libnpf.3
Log Message:
libnpf(3): improve the wording, fix and expand some sections.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libnpf/libnpf.3
Module Name:src
Committed By: rmind
Date: Fri Jan 20 23:00:30 UTC 2017
Modified Files:
src/usr.sbin/npf/npfctl: npf_parse.y
Log Message:
npfctl: fix shift/reduce conflicts, thanks to riastradh@.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44
Module Name:src
Committed By: rmind
Date: Thu Jan 19 20:18:18 UTC 2017
Modified Files:
src/usr.sbin/npf/npfctl: npf.conf.5 npf_build.c npf_data.c npf_parse.y
npfctl.h
Log Message:
npfctl:
- Add protocol filter option for "map".
- Print user-friendly error if
Module Name:src
Committed By: rmind
Date: Tue Jan 3 01:29:49 UTC 2017
Modified Files:
src/usr.sbin/npf/npfctl: npf.conf.5 npf_build.c npf_parse.y npf_scan.l
npfctl.h
Log Message:
npfctl: dynamic interface address handling; update npf.conf(8).
To generate a
Module Name:src
Committed By: rmind
Date: Tue Jan 3 00:58:05 UTC 2017
Modified Files:
src/sys/net/npf: npf_conf.c npf_ifaddr.c npf_impl.h npf_os.c
Log Message:
NPF: fix the interface table initialisation on load.
To generate a diff of this commit:
cvs rdiff -u -r1.10
ndex: src/sys/net/npf/npf_ifaddr.c
diff -u /dev/null src/sys/net/npf/npf_ifaddr.c:1.1
--- /dev/null Mon Jan 2 21:49:51 2017
+++ src/sys/net/npf/npf_ifaddr.c Mon Jan 2 21:49:51 2017
@@ -0,0 +1,179 @@
+/* $NetBSD: npf_ifaddr.c,v 1.1 2017/01/02 21:49:51 rmind Exp $ */
+
+/*-
+ * Copyright (c) 2014 The NetB
Module Name:src
Committed By: rmind
Date: Thu Dec 29 20:48:50 UTC 2016
Modified Files:
src/usr.sbin/npf/npfctl: npf_show.c npfctl.c
Log Message:
Improve 'npfctl debug' a little bit.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22
Module Name:src
Committed By: rmind
Date: Tue Dec 27 22:35:33 UTC 2016
Modified Files:
src/usr.sbin/npf/npfctl: npf.conf.5 npf_bpf_comp.c npf_build.c
npf_data.c npf_parse.y npf_scan.l npfctl.h
Log Message:
npf.conf: add support for logical NOT, e.g.: pass from
+1,127 @@
+/* $NetBSD: npfd.c,v 1.1 2016/12/27 22:20:00 rmind Exp $ */
+
+/*-
+ * Copyright (c) 2015 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Mindaugas Rasiukevicius.
+ *
+ * Redistribution and use
Module Name:src
Committed By: rmind
Date: Tue Dec 27 20:32:58 UTC 2016
Modified Files:
src/lib/libnpf: npf.c npf.h
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/lib/libnpf/npf.c
cvs rdiff -u -r1.32 -r1.33 src/lib/libnpf/npf.h
Please
Module Name:src
Committed By: rmind
Date: Tue Dec 27 17:58:56 UTC 2016
Modified Files:
src/lib/libnpf: libnpf.3
Log Message:
Update libnpf(3) man page.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libnpf/libnpf.3
Please note that diffs are not
Module Name:src
Committed By: rmind
Date: Mon Dec 26 23:59:48 UTC 2016
Modified Files:
src/sys/net/npf: npf_os.c
Log Message:
Convert NPF to the latest pfil(9) changes.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/net/npf/npf_os.c
Please note
Module Name:src
Committed By: rmind
Date: Mon Dec 26 23:39:18 UTC 2016
Modified Files:
src/sys/net/npf: npf.h
Log Message:
Bump NPF_VERSION to 19.
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/net/npf/npf.h
Please note that diffs are not public
Module Name:src
Committed By: rmind
Date: Mon Dec 26 23:10:46 UTC 2016
Modified Files:
src/sys/net/npf: npf_state_tcp.c
Log Message:
npf_tcp_fsm: fix for the NPF_TCPS_SYN_RECEIVED state.
SYN re-transmission after SYN-ACK was seen by NPF should not terminate
the
Module Name:src
Committed By: rmind
Date: Mon Dec 26 21:16:06 UTC 2016
Modified Files:
src/sys/net/npf: lpm.c
Log Message:
Fix kmem_free() in hashmap_remove().
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/net/npf/lpm.c
Please note that diffs are
Module Name:src
Committed By: rmind
Date: Mon Dec 26 12:44:10 UTC 2016
Modified Files:
src/sys/net/npf: lpm.c
Log Message:
Fix kmem_free() sizes in hashmap_rehash() and lpm_clear().
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/net/npf/lpm.c
$ */
/*-
* Copyright (c) 2014-2015 Mindaugas Rasiukevicius
@@ -99,7 +99,7 @@
*/
#include
-__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.16 2015/02/05 22:04:03 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.17 2016/12/08 23:07:11 rmind Exp $");
#include
#include
Module Name:src
Committed By: rmind
Date: Sun Jul 12 23:54:44 UTC 2015
Modified Files:
src/usr.sbin/npf: npf.7
src/usr.sbin/npf/npfctl: npf_var.c
Log Message:
- npfvar_get_type1: check for NULL first.
- Minor fix for the npf(7) man page.
To generate a diff of
Module Name:src
Committed By: rmind
Date: Wed Jun 3 23:36:05 UTC 2015
Modified Files:
src/usr.sbin/npf/npfctl: npf_show.c
Log Message:
npfctl: fix the from/to port mess up when showing the rules.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19
Module Name:src
Committed By: rmind
Date: Wed May 27 19:43:40 UTC 2015
Modified Files:
src/sys/uvm: uvm_bio.c
Log Message:
ubc_alloc: perform pmap_update() in the error path as we might have
removed the mapping.
To generate a diff of this commit:
cvs rdiff -u -r1.82
Module Name:src
Committed By: rmind
Date: Fri Mar 20 23:36:28 UTC 2015
Modified Files:
src/sys/net/npf: npf_ctl.c npf_ruleset.c
Log Message:
NPF: replace the TAILQ of the dynamic rules with a linked list and fix the
inheriting of the active dynamic rules during the
Module Name:src
Committed By: rmind
Date: Sat Mar 21 00:49:07 UTC 2015
Modified Files:
src/usr.sbin/npf/npfctl: npf_build.c npf_show.c
Log Message:
npfctl:
- Fix the filter criteria when to/from is omitted but port used.
- Print more user-friendly error if an NPF table
Feb 1 22:41:22 2015
+++ src/sys/net/npf/npf_conn.c Thu Feb 5 22:04:03 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_conn.c,v 1.15 2015/02/01 22:41:22 rmind Exp $ */
+/* $NetBSD: npf_conn.c,v 1.16 2015/02/05 22:04:03 rmind Exp $ */
/*-
* Copyright (c) 2014-2015 Mindaugas Rasiukevicius rmind at netbsd
Module Name:src
Committed By: rmind
Date: Mon Feb 2 19:08:32 UTC 2015
Modified Files:
src/usr.sbin/npf/npfctl: npf_show.c
Log Message:
npfctl_print_rule: print the ID in hex, not decimal.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17
:19:43 rmind Exp $ */
+/* $NetBSD: npf_conn.c,v 1.15 2015/02/01 22:41:22 rmind Exp $ */
/*-
- * Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
+ * Copyright (c) 2014-2015 Mindaugas Rasiukevicius rmind at netbsd org
* Copyright (c) 2010-2014 The NetBSD Foundation, Inc.
* All
Module Name:src
Committed By: rmind
Date: Sun Feb 1 22:57:22 UTC 2015
Modified Files:
src/usr.sbin/npf/npfctl: npf.conf.5
Log Message:
npf.conf(5): mention alg, include in the example, minor fix.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44
Module Name:src
Committed By: rmind
Date: Mon Feb 2 00:31:39 UTC 2015
Modified Files:
src/sys/net/npf: npf_impl.h npf_ruleset.c
src/usr.sbin/npf/npfctl: npf_show.c
Log Message:
npfctl(8): report dynamic rule ID in a comment, print the case when libpcap
is used
Module Name:src
Committed By: rmind
Date: Mon Feb 2 00:55:28 UTC 2015
Modified Files:
src/lib/libnpf: npf.c npf.h
Log Message:
libnpf: add npf_rule_getid() and npf_rule_getcode().
Missed in the previous commit.
To generate a diff of this commit:
cvs rdiff -u -r1.34
Module Name:src
Committed By: rmind
Date: Sun Jan 18 23:16:35 UTC 2015
Modified Files:
src/sys/kern: subr_ipi.c
src/sys/sys: ipi.h
Log Message:
Implement ipi_trigger_multi(9); requested by cherry@.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3
Module Name:src
Committed By: rmind
Date: Fri Dec 26 20:44:38 UTC 2014
Modified Files:
src/usr.sbin/npf/npfctl: npfctl.c
Log Message:
npfctl(8): attempt to preload bpfjit kernel module and print the
warning on failure.
To generate a diff of this commit:
cvs rdiff -u
2014/11/30 00:40:55 rmind Exp $ */
+/* $NetBSD: npf_conn.c,v 1.14 2014/12/20 16:19:43 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
@@ -99,7 +99,7 @@
*/
#include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: npf_conn.c,v 1.13 2014/11/30 00:40:55 rmind Exp
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_conn.c,v 1.12 2014/08/24 20:36:30 rmind Exp $ */
+/* $NetBSD: npf_conn.c,v 1.13 2014/11/30 00:40:55 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
@@ -99,7 +99,7 @@
*/
#include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD
/npf_nat.c:1.36 Sun Nov 30 00:40:55 2014
+++ src/sys/net/npf/npf_nat.c Sun Nov 30 01:37:53 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_nat.c,v 1.36 2014/11/30 00:40:55 rmind Exp $ */
+/* $NetBSD: npf_nat.c,v 1.37 2014/11/30 01:37:53 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind
$ */
+/* $NetBSD: npf_nat.c,v 1.35 2014/11/26 21:25:35 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
@@ -71,7 +71,7 @@
*/
#include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: npf_nat.c,v 1.34 2014/08/24 20:36:30 rmind Exp $);
+__KERNEL_RCSID(0, $NetBSD: npf_nat.c,v
Module Name:src
Committed By: rmind
Date: Sat Sep 13 17:18:45 UTC 2014
Modified Files:
src/sys/net: bpf.c
Log Message:
PR/49190: bpf_deliver: set scratch memory store in bpf_args_t.
To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 src/sys/net/bpf.c
Module Name:src
Committed By: rmind
Date: Tue Sep 9 20:16:12 UTC 2014
Modified Files:
src/sys/net: if.c if.h route.c
src/sys/netatalk: at_control.c
src/sys/netinet: in.c
src/sys/netinet6: in6.c in6_ifattach.c mld6.c nd6_nbr.c
Log Message:
Module Name:src
Committed By: rmind
Date: Sun Sep 7 00:50:57 UTC 2014
Modified Files:
src/sys/netinet: in_pcb.c
src/sys/netinet6: in6_pcb.c
Log Message:
in_pcbdetach: move ip_freemoptions() under softnet_lock for now (this will
be changed back once other IP paths
/11 23:48:01 rmind Exp $ */
+/* $NetBSD: npf_conn.c,v 1.12 2014/08/24 20:36:30 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
@@ -99,7 +99,7 @@
*/
#include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: npf_conn.c,v 1.11 2014/08/11 23:48:01 rmind Exp
Module Name:src
Committed By: rmind
Date: Sun Aug 24 20:37:35 UTC 2014
Modified Files:
src/lib/libnpf: npf.c
Log Message:
npf_config_submit: finally, include the saved connections.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/lib/libnpf/npf.c
$ */
+/* $NetBSD: npf_conn.c,v 1.11 2014/08/11 23:48:01 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
@@ -99,7 +99,7 @@
*/
#include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: npf_conn.c,v 1.10 2014/08/10 19:09:43 rmind Exp $);
+__KERNEL_RCSID(0, $NetBSD
Sat Jul 26 16:42:03 2014
+++ src/sys/net/npf/npf_conn.c Sun Aug 10 19:09:43 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_conn.c,v 1.9 2014/07/26 16:42:03 rmind Exp $ */
+/* $NetBSD: npf_conn.c,v 1.10 2014/08/10 19:09:43 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
Module Name:src
Committed By: rmind
Date: Mon Aug 11 01:54:13 UTC 2014
Modified Files:
src/sys/net/npf: npf_conf.c npf_ctl.c npf_impl.h npf_rproc.c
npf_ruleset.c npf_tableset.c
Log Message:
NPF: finish up the rework of npfctl_save() mechanism.
To generate a
Module Name:src
Committed By: rmind
Date: Sun Aug 3 22:11:50 UTC 2014
Modified Files:
src/sys/netinet: in_pcb.c
Log Message:
in_pcbdetach: not that IGMP and multicast groups are MP-safe, we can move
the ip_freemoptions() call outside the softnet_lock. Should fix
Module Name:src
Committed By: rmind
Date: Sun Aug 3 22:55:24 UTC 2014
Modified Files:
src/sys/netinet6: in6_pcb.c
Log Message:
in6_pcbdetach: now that IGMP and multicast groups are MP-safe, we can move
the ip6_freemoptions() call outside the softnet_lock. Should fix
Foundation under a contract with Mindaugas Rasiukevicius.
+.\
+.\ Redistribution and use in source and binary forms, with or without
+.\ modification, are permitted provided that the following conditions
+.\ are met:
+.\ 1. Redistributions of source code must retain the above copyright
+.\notice
Module Name:src
Committed By: rmind
Date: Sun Aug 3 00:02:56 UTC 2014
Modified Files:
src/lib/libnpf: libnpf.3
src/usr.sbin/npf/npfctl: npf.conf.5 npfctl.8
Log Message:
Cross-link npf(7).
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
/npf_conn.c Sat Jul 26 16:42:03 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_conn.c,v 1.8 2014/07/25 23:21:46 rmind Exp $ */
+/* $NetBSD: npf_conn.c,v 1.9 2014/07/26 16:42:03 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
@@ -99,7 +99,7 @@
*/
#include sys/cdefs.h
Module Name:src
Committed By: rmind
Date: Fri Jul 25 20:07:32 UTC 2014
Modified Files:
src/sys/net/npf: npf_state_tcp.c
Log Message:
npf_tcp_inwindow: enable strict RST check by default.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16
23:07:21 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
@@ -99,7 +99,7 @@
*/
#include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: npf_conn.c,v 1.6 2014/07/23 01:25:34 rmind Exp $);
+__KERNEL_RCSID(0, $NetBSD: npf_conn.c,v 1.7 2014/07/25 23:07:21 rmind Exp
$ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
@@ -99,7 +99,7 @@
*/
#include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: npf_conn.c,v 1.7 2014/07/25 23:07:21 rmind Exp $);
+__KERNEL_RCSID(0, $NetBSD: npf_conn.c,v 1.8 2014/07/25 23:21:46 rmind Exp $);
#include sys/param.h
Module Name:src
Committed By: rmind
Date: Wed Jul 23 01:48:05 UTC 2014
Modified Files:
src/sys/net/npf: npf.h
Log Message:
npf_iscached: add an assert.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/net/npf/npf.h
Please note that diffs are not
+1,139 @@
+/* $NetBSD: npf_conn.h,v 1.1 2014/07/19 19:14:21 rmind Exp $ */
+
+/*-
+ * Copyright (c) 2009-2014 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This material is based upon work partially supported by The
+ * NetBSD Foundation under a contract with Mindaugas Rasiukevicius
20:59:01 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_conn.c,v 1.1 2014/07/19 18:24:16 rmind Exp $ */
+/* $NetBSD: npf_conn.c,v 1.2 2014/07/19 20:59:01 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
@@ -100,7 +100,7 @@
*/
#include sys/cdefs.h
-__KERNEL_RCSID(0
:37:41 rmind Exp $ */
/*-
* Copyright (c) 2014 Mindaugas Rasiukevicius rmind at netbsd org
@@ -100,7 +100,7 @@
*/
#include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: npf_conn.c,v 1.3 2014/07/19 21:22:58 christos Exp $);
+__KERNEL_RCSID(0, $NetBSD: npf_conn.c,v 1.4 2014/07/20 00:37:41 rmind Exp
Module Name:src
Committed By: rmind
Date: Sun Jul 20 00:43:47 UTC 2014
Removed Files:
src/sys/net/npf: npf_session.c
Log Message:
Bye bye npf_session.c
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r0 src/sys/net/npf/npf_session.c
Please note that diffs are
Module Name:src
Committed By: rmind
Date: Sun Jul 20 00:48:51 UTC 2014
Modified Files:
src/usr.sbin/npf/npfctl: npf_show.c
Log Message:
formatting
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/npf/npfctl/npf_show.c
Please note that diffs
Module Name:src
Committed By: rmind
Date: Thu Jul 10 14:05:19 UTC 2014
Modified Files:
src/sys/netinet: tcp_usrreq.c
Log Message:
tcp_accept: simplify a little.
To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/sys/netinet/tcp_usrreq.c
Please note
Module Name:src
Committed By: rmind
Date: Mon Jun 30 00:01:24 UTC 2014
Modified Files:
src/sys/net/npf: npf_bpf.c
Log Message:
NPF: use BPF JIT by default.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/net/npf/npf_bpf.c
Please note that diffs are
Module Name:src
Committed By: rmind
Date: Sun Jun 29 00:05:24 UTC 2014
Modified Files:
src/sys/net/npf: npf.h npf_bpf.c
src/usr.sbin/npf/npfctl: npf_bpf_comp.c
Log Message:
NPF:
- Populate the BPF external memory store with L3 information.
- Eliminate NPF_COP_L3
Module Name:src
Committed By: rmind
Date: Tue Jun 24 22:19:36 UTC 2014
Modified Files:
src/sys/net: bpf.h bpf_filter.c bpfjit.c
Log Message:
- Improve the comments in bpf.h and KNF a little.
- Rename bpf_ctx_t member noinit to preinited (reflects the meaning better).
To
Module Name:src
Committed By: rmind
Date: Tue Jun 24 22:27:40 UTC 2014
Modified Files:
src/sys/net: bpf_filter.c
Log Message:
- bpf_validate_ext: fix memword validation in BPF_ST/BPF_STX case.
- bpf_set_extmem: check the number of words against BPF_MAX_MEMWORDS.
To
Module Name:src
Committed By: rmind
Date: Wed Jun 25 00:20:06 UTC 2014
Modified Files:
src/sys/net/npf: npf.h npf_bpf.c npf_impl.h npf_ruleset.c
src/usr.sbin/npf/npftest/libnpftest: npf_bpf_test.c
Log Message:
Adjust NPF to the recent BPF / BPF JIT changes and
Module Name:src
Committed By: rmind
Date: Wed Jun 25 00:21:42 UTC 2014
Modified Files:
src/usr.sbin/npf/npftest: README
src/usr.sbin/npf/npftest/libnpftest: npf_perf_test.c
Log Message:
npftest: add an example in the README, fix the total in npf_test_conc().
To
Module Name:src
Committed By: rmind
Date: Wed Jun 25 01:21:36 UTC 2014
Modified Files:
src/sys/net: bpfjit.c
Log Message:
bpfjit_generate_code: emit the instruction correctly.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/net/bpfjit.c
Please
Module Name:src
Committed By: rmind
Date: Fri Jun 13 13:54:08 UTC 2014
Modified Files:
src/sys/net: if.c
Log Message:
if_detach: drain ip6_pktq as well.
To generate a diff of this commit:
cvs rdiff -u -r1.280 -r1.281 src/sys/net/if.c
Please note that diffs are not
Module Name:src
Committed By: rmind
Date: Mon Jun 9 12:44:07 UTC 2014
Modified Files:
src/sys/kern: subr_pcq.c
src/sys/sys: pcq.h
Log Message:
Add PCQ_MAXLEN constant.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/kern/subr_pcq.c
cvs rdiff
Module Name:src
Committed By: rmind
Date: Mon Jun 9 12:57:05 UTC 2014
Modified Files:
src/sys/net: if.c pktqueue.c pktqueue.h
Log Message:
Implement pktq_set_maxlen() and let sysctl net.inet.{ip,ip6}.ifq.maxlen be
changed on the fly again.
To generate a diff of this
Module Name:src
Committed By: rmind
Date: Mon Jun 9 13:03:16 UTC 2014
Modified Files:
src/sys/net: pktqueue.c
src/sys/rump/librump/rumpkern: intr.c
Log Message:
Restore the assert in RUMP's softint_schedule_cpu() and just ensure
curcpu() in the caller.
To
Module Name:src
Committed By: rmind
Date: Mon Jun 9 14:44:48 UTC 2014
Modified Files:
src/sys/net: pktqueue.c
Log Message:
pktqueue: add or fix some comments, remove some header inclusions.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: rmind
Date: Sun Jun 8 15:24:34 UTC 2014
Modified Files:
src/sys/rump/librump/rumpkern: intr.c
Log Message:
RUMP's softint_schedule_cpu: comment out an assert for now.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44
Module Name:src
Committed By: rmind
Date: Sat Jun 7 11:00:29 UTC 2014
Modified Files:
src/sys/net: if_loop.c
Log Message:
lostart: silence gcc warning (XXX: gcc is not right though).
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/net/if_loop.c
Module Name:src
Committed By: rmind
Date: Sat Jun 7 11:08:09 UTC 2014
Modified Files:
src/sys/rump/librump/rumpkern: scheduler.c
Log Message:
Make kpreempt_disabled() always return true in RUMP kernels for now.
May revisit once RUMP provides better splfoo/splx()
Module Name:src
Committed By: rmind
Date: Fri Jun 6 22:15:32 UTC 2014
Modified Files:
src/sys/net: if_spppsubr.c
Log Message:
sppp_input: handle pktqueue case correctly (fix for the previous).
To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130
Module Name:src
Committed By: rmind
Date: Thu Jun 5 23:43:04 UTC 2014
Modified Files:
src/sys/rump/librump/rumpkern: intr.c scheduler.c
Log Message:
librump: add kpreempt_disabled(9) and softint_schedule_cpu(9).
To generate a diff of this commit:
cvs rdiff -u -r1.42
Module Name:src
Committed By: rmind
Date: Thu Jun 5 23:42:25 UTC 2014
Modified Files:
src/sys/rump/librump/rumpkern: Makefile.rumpkern
Log Message:
librump: include pcq(9) interface.
To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147
Module Name:src
Committed By: rmind
Date: Fri Jun 6 00:11:19 UTC 2014
Modified Files:
src/sys/netinet: ip_output.c
Log Message:
ip_output: zero iproute structure only when needed; reduce the scope
of some variables.
To generate a diff of this commit:
cvs rdiff -u
1 - 100 of 825 matches
Mail list logo