Re: [PATCH] bsd: Added mtx_trylock()

2018-08-04 Thread Nadav Har'El
On Sat, Aug 4, 2018 at 6:03 AM, Charles Myers wrote: > Used in FreeBSD IPv6 code sys/netinet6/frag6.c IP6Q_TRYLOCK(). > Thanks, I'll commit these two trivial patches as-is, but the next patches, can you please add a "Signed-off-by:" line to your patch? This is explained in the CONTRIBUTING file.

[PATCH] bsd: Added mtx_trylock()

2018-08-03 Thread Charles Myers
Used in FreeBSD IPv6 code sys/netinet6/frag6.c IP6Q_TRYLOCK(). --- bsd/porting/sync_stub.c | 5 + bsd/porting/sync_stub.h | 1 + 2 files changed, 6 insertions(+) diff --git a/bsd/porting/sync_stub.c b/bsd/porting/sync_stub.c index 8d341d8..e871b20 100644 --- a/bsd/porting/sync_stub.c +++ b/bs