diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/xt_MARK.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/netfilter/xt_MARK.c b/net/netfilter/xt_MARK.c index de32aa5b57fc..5bf912120f48 100644 --- a/net/netfilter/xt_MARK.c +++ b/net/netfilter/xt_MARK.c | |||
@@ -158,6 +158,21 @@ static struct xt_target mark_tg_reg[] __read_mostly = { | |||
158 | .table = "mangle", | 158 | .table = "mangle", |
159 | .me = THIS_MODULE, | 159 | .me = THIS_MODULE, |
160 | }, | 160 | }, |
161 | { | ||
162 | .name = "MARK", | ||
163 | .family = AF_INET6, | ||
164 | .revision = 1, | ||
165 | .checkentry = mark_tg_check, | ||
166 | .target = mark_tg, | ||
167 | .targetsize = sizeof(struct xt_mark_target_info_v1), | ||
168 | #ifdef CONFIG_COMPAT | ||
169 | .compatsize = sizeof(struct compat_xt_mark_target_info_v1), | ||
170 | .compat_from_user = mark_tg_compat_from_user, | ||
171 | .compat_to_user = mark_tg_compat_to_user, | ||
172 | #endif | ||
173 | .table = "mangle", | ||
174 | .me = THIS_MODULE, | ||
175 | }, | ||
161 | }; | 176 | }; |
162 | 177 | ||
163 | static int __init mark_tg_init(void) | 178 | static int __init mark_tg_init(void) |