diff options
author | yangxingwu <xingwu.yang@gmail.com> | 2019-07-16 10:13:01 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-08-13 12:08:48 +0200 |
commit | 7e59b3fea2a2510b52761c20ccc71d3e9f6b7db8 (patch) | |
tree | 05051c1e9efebebb5110cd64b1f1ced47b1df234 /net/netfilter/nfnetlink_queue.c | |
parent | 1b90af292e71b20d03b837d39406acfbdc5d4b2a (diff) | |
download | linux-7e59b3fea2a2510b52761c20ccc71d3e9f6b7db8.tar.gz linux-7e59b3fea2a2510b52761c20ccc71d3e9f6b7db8.tar.bz2 linux-7e59b3fea2a2510b52761c20ccc71d3e9f6b7db8.zip |
netfilter: remove unnecessary spaces
This patch removes extra spaces.
Signed-off-by: yangxingwu <xingwu.yang@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nfnetlink_queue.c')
-rw-r--r-- | net/netfilter/nfnetlink_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c index b6a7ce622c72..feabdfb22920 100644 --- a/net/netfilter/nfnetlink_queue.c +++ b/net/netfilter/nfnetlink_queue.c @@ -394,7 +394,7 @@ nfqnl_build_packet_message(struct net *net, struct nfqnl_instance *queue, char *secdata = NULL; u32 seclen = 0; - size = nlmsg_total_size(sizeof(struct nfgenmsg)) + size = nlmsg_total_size(sizeof(struct nfgenmsg)) + nla_total_size(sizeof(struct nfqnl_msg_packet_hdr)) + nla_total_size(sizeof(u_int32_t)) /* ifindex */ + nla_total_size(sizeof(u_int32_t)) /* ifindex */ @@ -453,7 +453,7 @@ nfqnl_build_packet_message(struct net *net, struct nfqnl_instance *queue, } if (queue->flags & NFQA_CFG_F_UID_GID) { - size += (nla_total_size(sizeof(u_int32_t)) /* uid */ + size += (nla_total_size(sizeof(u_int32_t)) /* uid */ + nla_total_size(sizeof(u_int32_t))); /* gid */ } |