[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150113.155740.1237959632603319909.davem@davemloft.net>
Date: Tue, 13 Jan 2015 15:57:40 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: cwang@...pensource.com
Cc: arnd@...db.de, netdev@...r.kernel.org, kyeyoonp@...eaurora.org,
bridge@...ts.linux-foundation.org, stephen@...workplumber.org
Subject: Re: [PATCH] bridge: only provide proxy ARP when CONFIG_INET is
enabled
From: Cong Wang <cwang@...pensource.com>
Date: Tue, 13 Jan 2015 11:25:45 -0800
> On Tue, Jan 13, 2015 at 6:10 AM, Arnd Bergmann <arnd@...db.de> wrote:
>> When IPV4 support is disabled, we cannot call arp_send from
>> the bridge code, which would result in a kernel link error:
>>
>> net/built-in.o: In function `br_handle_frame_finish':
>> :(.text+0x59914): undefined reference to `arp_send'
>> :(.text+0x59a50): undefined reference to `arp_tbl'
>>
>> This makes the newly added proxy ARP support in the bridge
>> code depend on the CONFIG_INET symbol and lets the compiler
>> optimize the code out to avoid the link error.
>>
>
> Not sure how much sense to make CONFIG_BRIDGE depend
> on CONFIG_INET, at least CONFIG_BONDING does.
It depends upon whether we want to provide and consider
as a valid configuration bridging without INET. Probably
we do.
--
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