Subject: Re: [Patch net-next v8 02/11] ipv6: make ip6_dst_hoplimit() static inline

From: Cong Wang <[email-masked]>
Date: Wed, 22 May 2013 12:03:23 -0400 (EDT)

----- Original Message -----
> 
> I think you can just drop #ifdefs in 90% of the cases rather than
> create two versions of code for IPv4 and IPv6....
> 

I know we can use memcmp(), but comparing 16+ bytes even for IPv4 is not
a good idea, also we have to zalloc() every instance of union vxlan_addr.