Avoid overrunning buffer strcaller if getpeername fails.

Typo.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Initialize grp_tail proc_export (werror).

The surrounding code must assure that grp_tail actually
has a value in all cases, I've not attempted to verify
this.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Assign RES_READDIR3_OK invariantly (werror).

GCC decided that RES_READDIR3 might be used uninitialized.
Just do so in the prologue.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Break out cast pointing into sockaddr_in6.s6_addr (strict aliasing).

It is not clear to me that the flagged code was incorrect, or that
it presented a real aliasing problem, but gcc 4.7.2 seems to think
so, perhaps due to the nested casts.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Break out cast pointing into sockaddr_in6.s6_addr (strict aliasing).

It is not clear to me that the flagged code was incorrect, or that
it presented a real aliasing problem, but gcc 4.7.2 seems to think
so, perhaps due to the nested casts.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Fix ntirpc shutdown, take ntirpc update with shutdown fixes.

The ntirpc svc_shutdown() routine should be called without
flags some time before general_fridge_shutdown.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>