Commit 71195b88 authored by Lu Wei's avatar Lu Wei Committed by Dong Chenchen
Browse files

netfilter: make return-type and function-name in the same line

hulk inclusion
category: bugfix
bugzilla: 187830, https://gitee.com/openeuler/kernel/issues/I9K8D1



--------------------------------

The return-type-of-the-function should be on the same line
as the function-name.

Fixes: 877e893ac68e ("bpf: Add new bpf helper to get SO_ORIGINAL_DST/REPLY_SRC")
Signed-off-by: default avatarLu Wei <luwei32@huawei.com>
Signed-off-by: default avatarDong Chenchen <dongchenchen2@huawei.com>
parent effcfff4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -292,8 +292,8 @@ getorigdst(struct sock *sk, int optval, void __user *user, int *len)
	return -ENOENT;
}

static int
bpf_getorigdst_impl(struct sock *sk, int optval, void *user, int *len, int dir)
static int bpf_getorigdst_impl(struct sock *sk, int optval, void *user,
			       int *len, int dir)
{
	const struct inet_sock *inet = inet_sk(sk);
	const struct nf_conntrack_tuple_hash *h;