Skip to content

Commit 10dbd23

Browse files
zhang jiaoummakynes
authored andcommitted
selftests: netfilter: Add missing return value
There is no return value in count_entries, just add it. Fixes: eff3c55 ("netfilter: ctnetlink: support filtering by zone") Signed-off-by: zhang jiao <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent 92ceba9 commit 10dbd23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/testing/selftests/net/netfilter/conntrack_dump_flush.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ static int conntrack_data_generate_v6(struct mnl_socket *sock,
207207
static int count_entries(const struct nlmsghdr *nlh, void *data)
208208
{
209209
reply_counter++;
210+
return MNL_CB_OK;
210211
}
211212

212213
static int conntracK_count_zone(struct mnl_socket *sock, uint16_t zone)

0 commit comments

Comments
 (0)