I ran clang's static analyzer over the kernel sources. I've fixed a number of the errors in the IPv6 code.
These run the range from relatively important (could cause a kernel crash) to fairly minor (variables that are set but not used).
Sponsored by: Netflix
MFC after: 2 weeks