The new diff looks ok. Really v4 should be treated just like v6, but your patch does no incremental harm towards working in a world without INET in the kernel.
Attachment: pgpXxrYtF7ZVc.pgp Description: PGP signature