Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2b5c841f2c41c023809e3b6b95a8320246cf7f5a
Commit:     2b5c841f2c41c023809e3b6b95a8320246cf7f5a
Parent:     f73e924cdd166360e8cc9a1b193008fdc9b3e3e2
Author:     Patrick McHardy <[EMAIL PROTECTED]>
AuthorDate: Fri Sep 28 14:40:56 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:53:35 2007 -0700

    [NETFILTER]: nfnetlink: kill nlattr_bad_size
    
    Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 include/linux/netfilter/nfnetlink.h |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/include/linux/netfilter/nfnetlink.h 
b/include/linux/netfilter/nfnetlink.h
index cd8fded..0d8424f 100644
--- a/include/linux/netfilter/nfnetlink.h
+++ b/include/linux/netfilter/nfnetlink.h
@@ -73,19 +73,6 @@ struct nfnetlink_subsystem
 extern int nfnetlink_subsys_register(const struct nfnetlink_subsystem *n);
 extern int nfnetlink_subsys_unregister(const struct nfnetlink_subsystem *n);
 
-#define nlattr_bad_size(tb, max, cta_min)                              \
-({     int __i, __res = 0;                                             \
-       for (__i=1; __i <= max; __i++) {                                        
\
-               if (!cta_min[__i])                                      \
-                       continue;                                       \
-               if (tb[__i] && nla_len(tb[__i]) < cta_min[__i]){        \
-                       __res = 1;                                      \
-                       break;                                          \
-               }                                                       \
-       }                                                               \
-       __res;                                                          \
-})
-
 extern int nfnetlink_has_listeners(unsigned int group);
 extern int nfnetlink_send(struct sk_buff *skb, u32 pid, unsigned group, 
                          int echo);
-
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

Reply via email to