[nf-next] netfilter: x_tables: add missing comments

Message ID 20181017124302.12808-1-hyejeong831@gmail.com
State Under Review
Delegated to: Pablo Neira
Headers show
  • [nf-next] netfilter: x_tables: add missing comments
Related show

Commit Message

Hyejeong Jang Oct. 17, 2018, 12:43 p.m.
Comments about two member variables "family" and
"nft_compat" are missing. So I added them.

Signed-off-by: Hyejeong Jang <hyejeong831@gmail.com>
 include/linux/netfilter/x_tables.h | 2 ++
 1 file changed, 2 insertions(+)


diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index 9077b3ebea08..4594d1fa3f5c 100644
--- a/include/linux/netfilter/x_tables.h
+++ b/include/linux/netfilter/x_tables.h
@@ -87,6 +87,8 @@  static inline u_int8_t xt_family(const struct xt_action_param *par)
  * @match:	struct xt_match through which this function was invoked
  * @matchinfo:	per-match data
  * @hook_mask:	via which hooks the new rule is reachable
+ * @family:	address family
+ * @nft_compat:	true if extensions run from nft compat layer
  * Other fields as above.
 struct xt_mtchk_param {