correct Mesa endian test

2016-02-16 Thread Jonathan Gray
Due to the way Mesa can be built there are two headers that setup endian tests. src/mesa/main/compiler.h and src/gallium/include/pipe/p_config.h The former relies on indirect inclusion as was recently pointed out on the Mesa list. The compiler.h version is used in the following places, it turns

Re: [patch] Fix carp(4) with balancing ip / ip-stealth

2016-02-16 Thread Martin Pieuchot
On 12/02/16(Fri) 16:33, Florian Riehm wrote: > Hi Tech, > > I have noticed that CARP IP-Balancing is broken, so I am testing and > fixing it. > > The first problem came in with this commit: > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/net/if_ethersubr.c.diff?r1=1.176&r2=1.177 > It enforces

Re: Fix overflow check in sys/netinet6/in6.c

2016-02-16 Thread Martin Pieuchot
On 13/02/16(Sat) 18:51, Stefan Kempf wrote: > Some thoughts about this: > > If this particular type of undefined behavior is really a concern: maybe > looking for bounds/overflow checks that are incorrect besides undefined > behavior first is a better approach. A good way of fixing those will > be

Re: Huawei E3131h-2

2016-02-16 Thread Atanas Vladimirov
On 15.02.2016 16:59, Atanas Vladimirov wrote: Hi, With the diff bellow I tried to enable Huawei E3131h-2 but I got umsm1: missing endpoint and my "magic" ends here. Any help is appreciated. Thanks. Index: umsm.c === RCS file: /cvs

fusefs_fhtovp() falsely rejects root file handle

2016-02-16 Thread Martin Natano
The fusefs_fhtovp() function makes use of the ROOTINO ((ufsino_t)2) define instead of using FUSE_ROOTINO ((ino_t)1), which is used everywhere else in the fuse filesystem. This causes a file handle for the filesystem root to be falsely rejected with ESTALE. Comments? Index: miscfs/fuse/fuse_vfsops

fusefs_checkexp() return value

2016-02-16 Thread Martin Natano
The fusefs_checkexp() function returns 0, indicating that export via NFS is allowed, while in fact fusefs doesn't support NFS at all. (There is a vfs_export() call missing in fusefs_mount() and maybe other stuff too.) Furthermore, it does so without setting *extflagsp and *credanonp, which results