Optimize the 0.0.0.0 case, and get it working on 2.3 kernels.