selftests/net: msg_zerocopy enable build with older kernel headers
authorThomas Meyer <thomas@m3y3r.de>
Fri, 8 Sep 2017 12:01:19 +0000 (14:01 +0200)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 19 Sep 2017 20:12:29 +0000 (14:12 -0600)
commit06e8852ceecccdeff6841a6c5cd78a947a75d5bc
tree362b975f6ec752eb92a33ec40d8d7eeb626ec1d4
parente06d79fbc338935ef27befc84f8b8b2e5f878a10
selftests/net: msg_zerocopy enable build with older kernel headers

Explicitly define SO_EE_ORIGIN_ZEROCOPY.
This makes the test program build with older kernel headers,
e.g. from Debian 9.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/net/msg_zerocopy.c