[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141018112044.77939a2e@uryu.home.lan>
Date: Sat, 18 Oct 2014 11:20:44 +0200
From: Stephen Hemminger <stephen@...workplumber.org>
To: David Miller <davem@...emloft.net>
Cc: cwang@...pensource.com, roy.qing.li@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v2] vxlan: remove the dead codes
On Fri, 17 Oct 2014 16:24:49 -0400 (EDT)
David Miller <davem@...emloft.net> wrote:
> From: Cong Wang <cwang@...pensource.com>
> Date: Fri, 17 Oct 2014 10:33:08 -0700
>
> > On Thu, Oct 16, 2014 at 11:04 PM, <roy.qing.li@...il.com> wrote:
> >> From: Li RongQing <roy.qing.li@...il.com>
> >>
> >> remove the dead codes, no user uses vxlan_salt
> >>
> >> Signed-off-by: Li RongQing <roy.qing.li@...il.com>
> >> ---
> >> drivers/net/vxlan.c | 4 ----
> >> 1 file changed, 4 deletions(-)
> >>
> >> diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
> >> index 77ab844..855a81d 100644
> >> --- a/drivers/net/vxlan.c
> >> +++ b/drivers/net/vxlan.c
> >> @@ -152,8 +152,6 @@ struct vxlan_dev {
> >> struct hlist_head fdb_head[FDB_HASH_SIZE];
> >> };
> >>
> >> -/* salt for hash table */
> >> -static u32 vxlan_salt __read_mostly;
> >
> > Hmm, it has never been used since it was born. Maybe we should
> > really use for vxlan hash table?
>
> Yes, agreed, and I am very sure that this was Stephen Hemminger's
> original intention.
yes. never did rekeying, and it would have been hard.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists