[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161012151638.6250dff6@griffin>
Date: Wed, 12 Oct 2016 15:16:38 +0200
From: Jiri Benc <jbenc@...hat.com>
To: zhuyj <zyjzyj2000@...il.com>
Cc: netdev <netdev@...r.kernel.org>, pabeni@...hat.com,
daniel@...earbox.net, Pravin B Shelar <pshelar@...ira.com>,
Alexander Duyck <aduyck@...antis.com>,
hannes@...essinduktion.org, "David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 1/1] vxlan: insert ipv6 macro
On Wed, 12 Oct 2016 21:01:54 +0800, zhuyj wrote:
> How to explain the following source code? As you mentioned, are the
> #ifdefs in the following source pointless?
They are not, the code would not compile without them. Look how struct
vxlan_dev is defined.
Those are really basic questions you have. I suggest you try yourself
before asking such questions next time. In this case, you could
trivially remove the #ifdef and see for yourself, as I explained in the
previous email. Please do not try to offload your homework to other
people. It's very obvious you didn't even try to understand this, even
after the feedback you received.
And do not top post.
Thanks,
Jiri
Powered by blists - more mailing lists