[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <l2x2375c9f91004082209p9b13a651zc227448380f65b16@mail.gmail.com>
Date: Fri, 9 Apr 2010 13:09:03 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: xiaosuo@...il.com, Patrick McHardy <kaber@...sh.net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
netfilter-devel@...r.kernel.org
Subject: Re: [PATCH 2/3] flex_array: export some symbols for nfnetlink_queue
use
On Fri, Apr 9, 2010 at 1:02 PM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> Le vendredi 09 avril 2010 à 12:09 +0800, Changli Gao a écrit :
>> export some symbols for nfnetlink_queue use
>>
>> export some symbols for nfnetlink_queue use.
>>
>> Signed-off-by: Changli Gao <xiaosuo@...il.com>
>> ----
>> lib/Makefile | 4 ++--
>> lib/flex_array.c | 5 +++++
>> 2 files changed, 7 insertions(+), 2 deletions(-)
>>
>> diff --git a/lib/Makefile b/lib/Makefile
>> index 0a6ab6f..0700e74 100644
>> --- a/lib/Makefile
>> +++ b/lib/Makefile
>> @@ -12,7 +12,7 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \
>> idr.o int_sqrt.o extable.o prio_tree.o \
>> sha1.o irq_regs.o reciprocal_div.o argv_split.o \
>> proportions.o prio_heap.o ratelimit.o show_mem.o \
>> - is_single_threaded.o plist.o decompress.o flex_array.o
>> + is_single_threaded.o plist.o decompress.o
>>
>
> Hmm, could you instead add a lib-$(CONFIG_FLEX_ARRAY) += flex_array.o
> instead ?
>
> And do the necessary Kconfig changes as well.
>
Right, if nfnetlink will use flex_array, CONFIG_NETFILTER_NETLINK will
need to depend on or select CONFIG_FLEX_ARRAY.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists