Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1600521

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

From Jiri Benc <jbenc@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 2/3] vxlan: fix snooping for link-local IPv6 addresses
Date 2017-03-14 16:00 +0100
Message-ID <tkW5z-1Ad-17@gated-at.bofh.it> (permalink)
References <tjBwd-1Z5-15@gated-at.bofh.it> <tjBFT-25r-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH net-next 2/3] vxlan: fix snooping for link-local IPv6  addresses Jiri Benc <jbenc@redhat.com> - 2017-03-14 16:00 +0100

csiph-web