]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1bf58fc8d5f99b3a684fea1327dafa17a5097dc
tree362b975f6ec752eb92a33ec40d8d7eeb626ec1d4
parentdbddcda98dbe8f4c4327843dfb200ff94189d9be
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