Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=311af5cbeab8ce2b9252ce65272e427eeb8093b7 Commit: 311af5cbeab8ce2b9252ce65272e427eeb8093b7 Parent: 34f4c4295eb2580ca67677dea14a2839aedc403f Author: Patrick McHardy <[EMAIL PROTECTED]> AuthorDate: Mon Dec 17 21:51:14 2007 -0800 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Mon Jan 28 14:58:37 2008 -0800
[NETFILTER]: xt_MARK: support revision 1 for IPv6 The current netfilter SVN version includes support for this, so enable it in the kernel as well. Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- 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 de32aa5..5bf9121 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 = { .table = "mangle", .me = THIS_MODULE, }, + { + .name = "MARK", + .family = AF_INET6, + .revision = 1, + .checkentry = mark_tg_check, + .target = mark_tg, + .targetsize = sizeof(struct xt_mark_target_info_v1), +#ifdef CONFIG_COMPAT + .compatsize = sizeof(struct compat_xt_mark_target_info_v1), + .compat_from_user = mark_tg_compat_from_user, + .compat_to_user = mark_tg_compat_to_user, +#endif + .table = "mangle", + .me = THIS_MODULE, + }, }; static int __init mark_tg_init(void) - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html