From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Westphal Subject: [PATCH] qa: fix handling of ATTR_HELPER_INFO attribute Date: Mon, 19 Nov 2012 22:40:32 +0100 Message-ID: <1353361232-2437-1-git-send-email-fw@strlen.de> Cc: Florian Westphal To: Return-path: Received: from Chamillionaire.breakpoint.cc ([80.244.247.6]:53906 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752331Ab2KSVqO (ORCPT ); Mon, 19 Nov 2012 16:46:14 -0500 Sender: netfilter-devel-owner@vger.kernel.org List-ID: The attribute is variable-length and must be thus be set via set_attr_l(). Signed-off-by: Florian Westphal --- I'll push this in a couple of days if noone objects. qa/test_api.c | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/qa/test_api.c b/qa/test_api.c index 92cdafb..3c0f0f9 100644 --- a/qa/test_api.c +++ b/qa/test_api.c @@ -83,9 +83,6 @@ int main(void) ret = fork(); if (ret == 0) { for (i=0; i