Re: [PATCH net-next 2/3] vxlan: fix snooping for link-local IPv6 addresses

From: Jiri Benc
Date: Tue Mar 14 2017 - 10:57:09 EST


On Fri, 10 Mar 2017 23:39:43 +0100, Matthias Schiffer wrote:
> --- a/drivers/net/vxlan.c
> +++ b/drivers/net/vxlan.c
> @@ -941,16 +941,24 @@ static int vxlan_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb,
> */
> static bool vxlan_snoop(struct net_device *dev,
> union vxlan_addr *src_ip, const u8 *src_mac,
> - __be32 vni)
> + __u32 src_ifindex, __be32 vni)

Just "u32", please. No double underscores for u32 inside the
kernel-only code. (Also in other places in this patch.)

Thanks,

Jiri