CVS commit: src/usr.sbin/npf

2020-05-31 Thread Mindaugas Rasiukevicius
+++ 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

CVS commit: src/usr.sbin/npf/npftest/libnpftest

2020-05-30 Thread Mindaugas Rasiukevicius
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 -r1.18

CVS commit: src/sys/net/npf

2020-05-30 Thread Mindaugas Rasiukevicius
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 src/sys/net/np

CVS commit: src/usr.sbin/npf/npfctl

2020-05-24 Thread Mindaugas Rasiukevicius
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 src/usr.

CVS commit: src

2020-05-23 Thread Mindaugas Rasiukevicius
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 sel

CVS commit: src/sys/kern

2020-05-23 Thread Mindaugas Rasiukevicius
$ */ +/* $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 with

CVS commit: src/usr.sbin/npf/npfctl

2019-04-07 Thread Mindaugas Rasiukevicius
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 src/usr.sbin/npf/npfctl/npf.c

CVS commit: src/sys/external/bsd/libnv/dist

2019-02-15 Thread Mindaugas Rasiukevicius
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 h

CVS commit: src/sys/external/bsd/libnv/dist

2019-02-12 Thread Mindaugas Rasiukevicius
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 of

CVS commit: src/sys/external/bsd/libnv/dist

2019-02-12 Thread Mindaugas Rasiukevicius
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 nvlist

CVS commit: src/doc

2019-01-19 Thread Mindaugas Rasiukevicius
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 domain;

CVS commit: src/sys/kern

2019-01-19 Thread Mindaugas Rasiukevicius
/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

CVS commit: src/sys

2018-12-16 Thread Mindaugas Rasiukevicius
.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 binary form

CVS commit: src/doc

2018-09-29 Thread Mindaugas Rasiukevicius
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 are

CVS commit: src/sys/net/npf

2018-09-29 Thread Mindaugas Rasiukevicius
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

CVS commit: src/sys/external/bsd/libnv/dist

2018-09-23 Thread Mindaugas Rasiukevicius
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 src/sys/external/bsd/li

CVS commit: src/sys/external/bsd/libnv/dist

2018-09-23 Thread Mindaugas Rasiukevicius
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 r

CVS commit: src/sys/external/bsd/libnv/dist

2018-09-22 Thread Mindaugas Rasiukevicius
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 src/sys/e

CVS commit: src

2018-09-22 Thread Mindaugas Rasiukevicius
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 F

CVS commit: src/usr.sbin/npf/npfctl

2018-09-01 Thread Mindaugas Rasiukevicius
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. Dynam

CVS commit: src/sys/netinet

2018-03-29 Thread Mindaugas Rasiukevicius
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 src/sys/netinet/tc

CVS commit: src/usr.sbin/npf

2017-12-10 Thread Mindaugas Rasiukevicius
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

CVS commit: src/sys/net/npf

2017-12-09 Thread Mindaugas Rasiukevicius
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 st

CVS commit: src/sys/net/npf

2017-12-09 Thread Mindaugas Rasiukevicius
src/sys/net/npf/npf_conn.c:1.23 Sun Jan 29 00: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 $ */ /*- * Copyrigh

CVS commit: src/lib/libnpf

2017-12-06 Thread Mindaugas Rasiukevicius
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

CVS commit: src/usr.sbin/npf/npfctl

2017-01-20 Thread Mindaugas Rasiukevicius
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 src/usr.sbin/n

CVS commit: src/usr.sbin/npf/npfctl

2017-01-19 Thread Mindaugas Rasiukevicius
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 ta

CVS commit: src/usr.sbin/npf/npfctl

2017-01-02 Thread Mindaugas Rasiukevicius
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 d

CVS commit: src/sys/net/npf

2017-01-02 Thread Mindaugas Rasiukevicius
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 -r

CVS commit: src/sys

2017-01-02 Thread Mindaugas Rasiukevicius
e_check: validate the name, ID and type. */ Added files: Index: 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

CVS commit: src/usr.sbin/npf/npfctl

2016-12-29 Thread Mindaugas Rasiukevicius
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 src/usr.sbin/npf/npfctl/npf

CVS commit: src/usr.sbin/npf/npfctl

2016-12-27 Thread Mindaugas Rasiukevicius
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

CVS commit: src/usr.sbin/npf/npfd

2016-12-27 Thread Mindaugas Rasiukevicius
+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 in

CVS commit: src/lib/libnpf

2016-12-27 Thread Mindaugas Rasiukevicius
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

CVS commit: src/lib/libnpf

2016-12-27 Thread Mindaugas Rasiukevicius
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 pub

CVS commit: src/sys/net/npf

2016-12-26 Thread Mindaugas Rasiukevicius
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 that

CVS commit: src/sys/net/npf

2016-12-26 Thread Mindaugas Rasiukevicius
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 d

CVS commit: src/sys/net/npf

2016-12-26 Thread Mindaugas Rasiukevicius
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 connection

CVS commit: src/sys/net/npf

2016-12-26 Thread Mindaugas Rasiukevicius
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 n

CVS commit: src/sys/net/npf

2016-12-26 Thread Mindaugas Rasiukevicius
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 Please

CVS commit: src/sys/net/npf

2016-12-08 Thread Mindaugas Rasiukevicius
rmind Exp $ */ /*- * 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

CVS commit: src/usr.sbin/npf

2015-07-12 Thread Mindaugas Rasiukevicius
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 thi

CVS commit: src/sys/net/npf

2015-07-12 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Jul 12 23:51:53 UTC 2015 Modified Files: src/sys/net/npf: npf_if.c npf_mbuf.c Log Message: npfkern: eliminate INACTIVE_ID and use 0 for unregistered interfaces. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/

CVS commit: src

2015-06-07 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Jun 8 01:00:43 UTC 2015 Modified Files: src/sys/net/npf: npf_ctl.c src/usr.sbin/npf/npfctl: npf_bpf_comp.c npf_build.c Log Message: - npfctl: fix the confusion in the parser (0/0 case with no other filter). - Always po

CVS commit: src/usr.sbin/npf/npfctl

2015-06-03 Thread Mindaugas Rasiukevicius
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 src/usr.sbin

CVS commit: src/sys/uvm

2015-05-27 Thread Mindaugas Rasiukevicius
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 -r1.

CVS commit: src/usr.sbin/npf/npfctl

2015-03-20 Thread Mindaugas Rasiukevicius
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 has

CVS commit: src/sys/net/npf

2015-03-20 Thread Mindaugas Rasiukevicius
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 reload;

CVS commit: src/sys/net/npf

2015-02-05 Thread Mindaugas Rasiukevicius
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 @@ -99,7 +99,7

CVS commit: src/usr.sbin/npf/npfctl

2015-02-02 Thread Mindaugas Rasiukevicius
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 src/usr.sbin/npf/npf

CVS commit: src/lib/libnpf

2015-02-01 Thread Mindaugas Rasiukevicius
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 -r1.

CVS commit: src

2015-02-01 Thread Mindaugas Rasiukevicius
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 cor

CVS commit: src/usr.sbin/npf/npfctl

2015-02-01 Thread Mindaugas Rasiukevicius
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 src/usr.sbin

CVS commit: src/sys/net/npf

2015-02-01 Thread Mindaugas Rasiukevicius
:19:43 rmind Exp $ */ +/* $NetBSD: npf_conn.c,v 1.15 2015/02/01 22:41:22 rmind Exp $ */ /*- - * Copyright (c) 2014 Mindaugas Rasiukevicius + * Copyright (c) 2014-2015 Mindaugas Rasiukevicius * Copyright (c) 2010-2014 The NetBSD Foundation, Inc. * All rights reserved. * @@ -99,7 +99,7

CVS commit: src/sys

2015-01-18 Thread Mindaugas Rasiukevicius
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 src/s

CVS commit: src/usr.sbin/npf/npfctl

2014-12-26 Thread Mindaugas Rasiukevicius
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 -r1.

CVS commit: src/sys/net/npf

2014-12-20 Thread Mindaugas Rasiukevicius
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 @@ -99,7 +99,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.13 2014/11/30 00:40:55 rmind Exp $"); +__KERN

CVS commit: src/sys/net/npf

2014-11-29 Thread Mindaugas Rasiukevicius
t.c:1.37 --- src/sys/net/npf/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 (

CVS commit: src/sys/net/npf

2014-11-29 Thread Mindaugas Rasiukevicius
@@ -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 @@ -99,7 +99,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.12 2014/08/

CVS commit: src/sys/net/npf

2014-11-26 Thread Mindaugas Rasiukevicius
$ */ +/* $NetBSD: npf_nat.c,v 1.35 2014/11/26 21:25:35 rmind Exp $ */ /*- * Copyright (c) 2014 Mindaugas Rasiukevicius @@ -71,7 +71,7 @@ */ #include -__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 1.35 2014

CVS commit: src/sys/net

2014-09-13 Thread Mindaugas Rasiukevicius
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 Please

CVS commit: src/sys

2014-09-09 Thread Mindaugas Rasiukevicius
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: Eliminate

CVS commit: src/sys

2014-09-06 Thread Mindaugas Rasiukevicius
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

CVS commit: src/lib/libnpf

2014-08-24 Thread Mindaugas Rasiukevicius
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 Please

CVS commit: src/sys/net/npf

2014-08-24 Thread Mindaugas Rasiukevicius
/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 @@ -99,7 +99,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.11 2014/08/11 23:48:01 rmind Exp $"); +__KERNEL_RCSID(0

CVS commit: src

2014-08-11 Thread Mindaugas Rasiukevicius
ind Exp $ */ +/* $NetBSD: npf_conn.c,v 1.11 2014/08/11 23:48:01 rmind Exp $ */ /*- * Copyright (c) 2014 Mindaugas Rasiukevicius @@ -99,7 +99,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.10 2014/08/10 19:09:43 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBS

CVS commit: src/sys/net/npf

2014-08-10 Thread Mindaugas Rasiukevicius
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 d

CVS commit: src

2014-08-10 Thread Mindaugas Rasiukevicius
ne NPF_VERSION 16 +#define NPF_VERSION 17 /* * Public declarations and definitions. Index: src/sys/net/npf/npf_conn.c diff -u src/sys/net/npf/npf_conn.c:1.9 src/sys/net/npf/npf_conn.c:1.10 --- src/sys/net/npf/npf_conn.c:1.9 Sat Jul 26 16:42:03 2014 +++ src/sys/net/npf/npf_conn.c Sun

CVS commit: src/sys/netinet6

2014-08-03 Thread Mindaugas Rasiukevicius
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 PR/4

CVS commit: src/sys/netinet

2014-08-03 Thread Mindaugas Rasiukevicius
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 PR/49065

CVS commit: src

2014-08-02 Thread Mindaugas Rasiukevicius
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 src/lib/libnpf

CVS commit: src

2014-08-02 Thread Mindaugas Rasiukevicius
y The +.\" NetBSD 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

CVS commit: src/sys/net/npf

2014-07-26 Thread Mindaugas Rasiukevicius
/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 @@ -99,7 +99,7 @@ */ #include -__KERNEL_RCSID(0, "$N

CVS commit: src/sys/net/npf

2014-07-25 Thread Mindaugas Rasiukevicius
$ */ /*- * Copyright (c) 2014 Mindaugas Rasiukevicius @@ -99,7 +99,7 @@ */ #include -__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 #includ

CVS commit: src/sys/net/npf

2014-07-25 Thread Mindaugas Rasiukevicius
23:07:21 rmind Exp $ */ /*- * Copyright (c) 2014 Mindaugas Rasiukevicius @@ -99,7 +99,7 @@ */ #include -__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 $");

CVS commit: src/sys/net/npf

2014-07-25 Thread Mindaugas Rasiukevicius
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 src/sys/net/npf/npf_st

CVS commit: src/sys/net/npf

2014-07-22 Thread Mindaugas Rasiukevicius
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 pub

CVS commit: src/usr.sbin/npf/npfctl

2014-07-19 Thread Mindaugas Rasiukevicius
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 are

CVS commit: src/sys/net/npf

2014-07-19 Thread Mindaugas Rasiukevicius
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 no

CVS commit: src

2014-07-19 Thread Mindaugas Rasiukevicius
on)) { return false; } - if (nbuf_flag_p(nbuf, NBUF_DATAREF_RESET)) { - npf_recache(npc, nbuf); + if (nbuf_flag_p(npc->npc_nbuf, NBUF_DATAREF_RESET)) { + npf_recache(npc); } } Index: src/sys/net/npf/npf_conn.c diff -u src/sys/net/npf/npf_conn.c:1.3 src/sys/net/npf/npf_conn

CVS commit: src/sys/net/npf

2014-07-19 Thread 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 @@ -100,7 +100,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,

CVS commit: src/sys/net/npf

2014-07-19 Thread Mindaugas Rasiukevicius
+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

CVS commit: src/sys/netinet

2014-07-10 Thread Mindaugas Rasiukevicius
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 that

CVS commit: src/sys/net/npf

2014-06-29 Thread Mindaugas Rasiukevicius
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

CVS commit: src

2014-06-28 Thread Mindaugas Rasiukevicius
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 ca

CVS commit: src/sys/net

2014-06-24 Thread Mindaugas Rasiukevicius
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 note

CVS commit: src/usr.sbin/npf/npftest

2014-06-24 Thread Mindaugas Rasiukevicius
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 g

CVS commit: src

2014-06-24 Thread Mindaugas Rasiukevicius
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 make

CVS commit: src/sys/net

2014-06-24 Thread Mindaugas Rasiukevicius
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 gener

CVS commit: src/sys/net

2014-06-24 Thread Mindaugas Rasiukevicius
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

CVS commit: src/sys/net

2014-06-13 Thread Mindaugas Rasiukevicius
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 publi

CVS commit: src/sys/net

2014-06-09 Thread Mindaugas Rasiukevicius
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 src/sys/net/pktqueue

CVS commit: src/sys

2014-06-09 Thread Mindaugas Rasiukevicius
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 genera

CVS commit: src/sys/net

2014-06-09 Thread Mindaugas Rasiukevicius
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 com

CVS commit: src/sys

2014-06-09 Thread Mindaugas Rasiukevicius
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

CVS commit: src/sys/rump/librump/rumpkern

2014-06-08 Thread Mindaugas Rasiukevicius
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 src/sys/rum

CVS commit: src/sys/rump/librump/rumpkern

2014-06-07 Thread Mindaugas Rasiukevicius
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() handling.

CVS commit: src/sys/net

2014-06-07 Thread Mindaugas Rasiukevicius
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 Pl

CVS commit: src/sys/net

2014-06-06 Thread Mindaugas Rasiukevicius
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 src/sys/net/i

CVS commit: src/sys/net

2014-06-05 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Fri Jun 6 01:27:32 UTC 2014 Modified Files: src/sys/net: route.c Log Message: rtfree: let's assert for a non-negative reference count and see what happens. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132 src/sys/

  1   2   3   4   5   6   7   8   9   >