Re: [PATCH bpf] bpf: samples/sockmap fix Makefile for build error

2018-02-13 Thread John Fastabend
On 02/13/2018 05:48 PM, Alexei Starovoitov wrote: > On Tue, Feb 13, 2018 at 01:42:49PM +0900, Prashant Bhole wrote: >> While building samples/sockmap, undefined reference error is thrown >> for `nla_dump_errormsg'. >> Linking tools/lib/bpf/nlattr.o as a fix >> >> Signed-off-by: Prashant Bhole >

Re: [PATCH bpf] bpf: samples/sockmap fix Makefile for build error

2018-02-13 Thread Alexei Starovoitov
On Tue, Feb 13, 2018 at 01:42:49PM +0900, Prashant Bhole wrote: > While building samples/sockmap, undefined reference error is thrown > for `nla_dump_errormsg'. > Linking tools/lib/bpf/nlattr.o as a fix > > Signed-off-by: Prashant Bhole Applied to bpf-next, thanks Prashant!

[PATCH bpf] bpf: samples/sockmap fix Makefile for build error

2018-02-12 Thread Prashant Bhole
While building samples/sockmap, undefined reference error is thrown for `nla_dump_errormsg'. Linking tools/lib/bpf/nlattr.o as a fix Signed-off-by: Prashant Bhole --- samples/sockmap/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/sockmap/Makefile b/samples/