Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 270703 Details for
Bug 356727
upstream patch net-firevall/ipset inclusion request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
netlink.patch
netlink.patch (text/plain), 2.05 KB, created by
Peter Volkov (RETIRED)
on 2011-04-20 18:10:47 UTC
(
hide
)
Description:
netlink.patch
Filename:
MIME Type:
Creator:
Peter Volkov (RETIRED)
Created:
2011-04-20 18:10:47 UTC
Size:
2.05 KB
patch
obsolete
>diff --git a/include/linux/netfilter/nfnetlink.h b/include/linux/netfilter/nfnetlink.h >index 361d6b5..2b11fc1 100644 >--- a/include/linux/netfilter/nfnetlink.h >+++ b/include/linux/netfilter/nfnetlink.h >@@ -47,7 +47,8 @@ struct nfgenmsg { > #define NFNL_SUBSYS_QUEUE 3 > #define NFNL_SUBSYS_ULOG 4 > #define NFNL_SUBSYS_OSF 5 >-#define NFNL_SUBSYS_COUNT 6 >+#define NFNL_SUBSYS_IPSET 6 >+#define NFNL_SUBSYS_COUNT 7 > > #ifdef __KERNEL__ > >diff --git a/include/net/netlink.h b/include/net/netlink.h >index 373f1a9..8a3906a 100644 >--- a/include/net/netlink.h >+++ b/include/net/netlink.h >@@ -856,18 +856,27 @@ static inline int nla_put_msecs(struct sk_buff *skb, int attrtype, > #define NLA_PUT_BE16(skb, attrtype, value) \ > NLA_PUT_TYPE(skb, __be16, attrtype, value) > >+#define NLA_PUT_NET16(skb, attrtype, value) \ >+ NLA_PUT_BE16(skb, attrtype | NLA_F_NET_BYTEORDER, value) >+ > #define NLA_PUT_U32(skb, attrtype, value) \ > NLA_PUT_TYPE(skb, u32, attrtype, value) > > #define NLA_PUT_BE32(skb, attrtype, value) \ > NLA_PUT_TYPE(skb, __be32, attrtype, value) > >+#define NLA_PUT_NET32(skb, attrtype, value) \ >+ NLA_PUT_BE32(skb, attrtype | NLA_F_NET_BYTEORDER, value) >+ > #define NLA_PUT_U64(skb, attrtype, value) \ > NLA_PUT_TYPE(skb, u64, attrtype, value) > > #define NLA_PUT_BE64(skb, attrtype, value) \ > NLA_PUT_TYPE(skb, __be64, attrtype, value) > >+#define NLA_PUT_NET64(skb, attrtype, value) \ >+ NLA_PUT_BE64(skb, attrtype | NLA_F_NET_BYTEORDER, value) >+ > #define NLA_PUT_STRING(skb, attrtype, value) \ > NLA_PUT(skb, attrtype, strlen(value) + 1, value) > >diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c >index b4a4532..51dd302 100644 >--- a/net/netfilter/nfnetlink.c >+++ b/net/netfilter/nfnetlink.c >@@ -35,7 +35,7 @@ MODULE_LICENSE("GPL"); > MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>"); > MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_NETFILTER); > >-static char __initdata nfversion[] = "0.30"; >+static char __initdata nfversion[] = "0.30 with ipset netlink.patch"; > > static const struct nfnetlink_subsystem *subsys_table[NFNL_SUBSYS_COUNT]; > static DEFINE_MUTEX(nfnl_mutex);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 356727
: 270703