Re: Does FreeBSD have sendmmsg or recvmmsg system calls?

2016-01-18 Thread Konstantin Belousov
On Mon, Jan 18, 2016 at 12:37:01PM +0200, Boris Astardzhiev wrote: > Hello, > > Sorry for the delay of my reply. As far as I understand pthread_testcancel() > is not necessary in the recvmmsg syscall since cancellation is not quite > common > among apps. But if there is cancellation attempts as

Re: Does FreeBSD have sendmmsg or recvmmsg system calls?

2016-01-18 Thread Boris Astardzhiev
Hello, Sorry for the delay of my reply. As far as I understand pthread_testcancel() is not necessary in the recvmmsg syscall since cancellation is not quite common among apps. But if there is cancellation attempts as long as I use __sys_recvmsg() instead of the interposing approach on a cancel

pf not seeing inbound packets coming from IPSec on epair interface

2016-01-18 Thread Andreas Longwitz
in the situation IPSec --> epair0a --> epair0b pf does not see inbound packets on the interface epair0b, because the epair driver does not clear the flag PACKET_TAG_IPSEC_IN_DONE when he transfers a packet from epair0a to epair0b. The following patch for FreeBSD 10 works for me and is

Re: pf not seeing inbound packets coming from IPSec on epair interface

2016-01-18 Thread Bjoern A. Zeeb
> On 18 Jan 2016, at 16:13 , Andreas Longwitz wrote: > > in the situation >IPSec --> epair0a --> epair0b > pf does not see inbound packets on the interface epair0b, because the > epair driver does not clear the flag PACKET_TAG_IPSEC_IN_DONE when he > transfers a

[Bug 201694] 10.2-BETA2 crashing when killing VIMAGE/VNET jails

2016-01-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201694 --- Comment #8 from Paul Armstrong --- Note that 11-CURRENT is slightly better in that it requires pf unloaded before jail start and then restart after loading it (as opposed to crashing on jail restart if pf is loaded at

Re: pf not seeing inbound packets coming from IPSec on epair interface

2016-01-18 Thread Andreas Longwitz
Hi, thanks for answer. >> in the situation >>IPSec --> epair0a --> epair0b --> em1 >> pf does not see inbound packets on the interface epair0b, because the >> epair driver does not clear the flag PACKET_TAG_IPSEC_IN_DONE when he >> transfers a packet from epair0a to epair0b. The following