[PATCH] usbdevs for Sierra Wireless EM7455

2016-11-15 Thread Bryan Vyhmeister
This patch adds the Sierra Wireless EM7455 umb(4) device to usbdevs in preparation for another patch to if_umb.c which adds full support for the EM7455. Bryan Index: sys/dev/usb/usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v r

Re: pf_ioctl.c: recursive splsoftnet()

2016-11-15 Thread Alexander Bluhm
On Tue, Nov 15, 2016 at 03:41:48PM +0100, Martin Pieuchot wrote: > Kill a bunch of recursive splsoftnet()s. pf_ioctl() already call > splsoftnet() and for the functions that are also called from pf_test() > the spl level is already IPL_SOFTNET. > > ok? OK bluhm@ > > Index: net/pf_if.c > ==

Re: tcp_input.c: recursive splsoftnet()

2016-11-15 Thread Alexander Bluhm
On Tue, Nov 15, 2016 at 04:03:40PM +0100, Martin Pieuchot wrote: > Assert that the sync cache functions are always called under the correct > IPL. > > This kill some more recursive splsoftnet(). > > While here keep local declarations local, this makes my life easier. > This way I know I don't nee

Re: Kill mpls_control()

2016-11-15 Thread Claudio Jeker
On Tue, Nov 15, 2016 at 02:23:33PM +0100, Martin Pieuchot wrote: > Simply return EOPNOTSUPP like in raw_userreq() rather than defining an > empty function. This will help reducing reducing recursive splsotnet() > in pr_usrreq() functions. > > ok? OK claudio > Index: netmpls/mpls_raw.c > ==

tcp_input.c: recursive splsoftnet()

2016-11-15 Thread Martin Pieuchot
Assert that the sync cache functions are always called under the correct IPL. This kill some more recursive splsoftnet(). While here keep local declarations local, this makes my life easier. This way I know I don't need to grep the whole tree to look where the functions are called. Index: netine

pf_ioctl.c: recursive splsoftnet()

2016-11-15 Thread Martin Pieuchot
Kill a bunch of recursive splsoftnet()s. pf_ioctl() already call splsoftnet() and for the functions that are also called from pf_test() the spl level is already IPL_SOFTNET. ok? Index: net/pf_if.c === RCS file: /cvs/src/sys/net/pf_i

Re: bpf_mtap(9) w/o KERNEL_LOCK

2016-11-15 Thread Alexander Bluhm
On Mon, Nov 14, 2016 at 10:07:30AM +0100, Martin Pieuchot wrote: > Here's another extracted diff to move forward. Let bpf_allocbufs() > fail when allocating memory, this way we can call it while holding > a mutex. > > ok? OK bluhm@ > > Index: net/bpf.c > ===

Kill mpls_control()

2016-11-15 Thread Martin Pieuchot
Simply return EOPNOTSUPP like in raw_userreq() rather than defining an empty function. This will help reducing reducing recursive splsotnet() in pr_usrreq() functions. ok? Index: netmpls/mpls_raw.c === RCS file: /cvs/src/sys/netmpls