bpf samples: fix compiler errors with sockex2 and sockex3
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Fri, 23 Sep 2016 20:40:04 +0000 (02:10 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2016 07:48:58 +0000 (03:48 -0400)
commit2b064fff8527a1052c7060c65c22cae80a9343b9
tree9a74e3c8cc605514c03b5637ca7cd60e38f6f4a2
parentb6f5be287344433100201c4d6f3f8dcd1755a6b3
bpf samples: fix compiler errors with sockex2 and sockex3

These samples fail to compile as 'struct flow_keys' conflicts with
definition in net/flow_dissector.h. Fix the same by renaming the
structure used in the sample.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/sockex2_kern.c
samples/bpf/sockex3_kern.c
samples/bpf/sockex3_user.c