diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | 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 1e9c821f152d..6179648a014e 100644 --- a/include/linux/netfilter/nfnetlink.h +++ b/include/linux/netfilter/nfnetlink.h | |||
@@ -129,19 +129,6 @@ extern void __nfa_fill(struct sk_buff *skb, int attrtype, | |||
129 | ({ if (skb_tailroom(skb) < (int)NFA_SPACE(attrlen)) goto nfattr_failure; \ | 129 | ({ if (skb_tailroom(skb) < (int)NFA_SPACE(attrlen)) goto nfattr_failure; \ |
130 | __nfa_fill(skb, attrtype, attrlen, data); }) | 130 | __nfa_fill(skb, attrtype, attrlen, data); }) |
131 | 131 | ||
132 | extern struct semaphore nfnl_sem; | ||
133 | |||
134 | #define nfnl_shlock() down(&nfnl_sem) | ||
135 | #define nfnl_shlock_nowait() down_trylock(&nfnl_sem) | ||
136 | |||
137 | #define nfnl_shunlock() do { up(&nfnl_sem); \ | ||
138 | if(nfnl && nfnl->sk_receive_queue.qlen) \ | ||
139 | nfnl->sk_data_ready(nfnl, 0); \ | ||
140 | } while(0) | ||
141 | |||
142 | extern void nfnl_lock(void); | ||
143 | extern void nfnl_unlock(void); | ||
144 | |||
145 | extern int nfnetlink_subsys_register(struct nfnetlink_subsystem *n); | 132 | extern int nfnetlink_subsys_register(struct nfnetlink_subsystem *n); |
146 | extern int nfnetlink_subsys_unregister(struct nfnetlink_subsystem *n); | 133 | extern int nfnetlink_subsys_unregister(struct nfnetlink_subsystem *n); |
147 | 134 | ||