Patrick McHardy | f229f6c | 2013-04-06 15:24:29 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Rusty Russell (C)2000 -- This code is GPL. |
| 3 | * Patrick McHardy (c) 2006-2012 |
| 4 | */ |
| 5 | |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 6 | #include <linux/kernel.h> |
Tejun Heo | 5a0e3ad | 2010-03-24 17:04:11 +0900 | [diff] [blame] | 7 | #include <linux/slab.h> |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 8 | #include <linux/init.h> |
| 9 | #include <linux/module.h> |
| 10 | #include <linux/proc_fs.h> |
| 11 | #include <linux/skbuff.h> |
| 12 | #include <linux/netfilter.h> |
Florian Westphal | c737b7c | 2015-04-02 14:31:41 +0200 | [diff] [blame] | 13 | #include <linux/netfilter_bridge.h> |
Harald Welte | bbd86b9f | 2005-08-09 20:23:11 -0700 | [diff] [blame] | 14 | #include <linux/seq_file.h> |
Patrick McHardy | 7a11b98 | 2006-02-27 13:03:24 -0800 | [diff] [blame] | 15 | #include <linux/rcupdate.h> |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 16 | #include <net/protocol.h> |
Patrick McHardy | c01cd42 | 2007-12-05 01:24:48 -0800 | [diff] [blame] | 17 | #include <net/netfilter/nf_queue.h> |
Eric Dumazet | 7fee226 | 2010-05-11 23:19:48 +0000 | [diff] [blame] | 18 | #include <net/dst.h> |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 19 | |
| 20 | #include "nf_internals.h" |
| 21 | |
YOSHIFUJI Hideaki | 601e68e | 2007-02-12 11:15:49 -0800 | [diff] [blame] | 22 | /* |
Florian Westphal | 0360ae4 | 2012-11-23 06:22:21 +0000 | [diff] [blame] | 23 | * Hook for nfnetlink_queue to register its queue handler. |
| 24 | * We do this so that most of the NFQUEUE code can be modular. |
| 25 | * |
| 26 | * Once the queue is registered it must reinject all packets it |
| 27 | * receives, no matter what. |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 28 | */ |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 29 | |
Harald Welte | d72367b | 2005-08-09 20:23:36 -0700 | [diff] [blame] | 30 | /* return EBUSY when somebody else is registered, return EEXIST if the |
| 31 | * same handler is registered, return 0 in case of success. */ |
Eric W. Biederman | dc3ee32 | 2016-05-13 21:18:52 -0500 | [diff] [blame] | 32 | void nf_register_queue_handler(struct net *net, const struct nf_queue_handler *qh) |
YOSHIFUJI Hideaki | 601e68e | 2007-02-12 11:15:49 -0800 | [diff] [blame] | 33 | { |
Florian Westphal | 0360ae4 | 2012-11-23 06:22:21 +0000 | [diff] [blame] | 34 | /* should never happen, we only have one queueing backend in kernel */ |
Eric W. Biederman | dc3ee32 | 2016-05-13 21:18:52 -0500 | [diff] [blame] | 35 | WARN_ON(rcu_access_pointer(net->nf.queue_handler)); |
| 36 | rcu_assign_pointer(net->nf.queue_handler, qh); |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 37 | } |
| 38 | EXPORT_SYMBOL(nf_register_queue_handler); |
| 39 | |
| 40 | /* The caller must flush their queue before this */ |
Eric W. Biederman | dc3ee32 | 2016-05-13 21:18:52 -0500 | [diff] [blame] | 41 | void nf_unregister_queue_handler(struct net *net) |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 42 | { |
Eric W. Biederman | dc3ee32 | 2016-05-13 21:18:52 -0500 | [diff] [blame] | 43 | RCU_INIT_POINTER(net->nf.queue_handler, NULL); |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 44 | } |
| 45 | EXPORT_SYMBOL(nf_unregister_queue_handler); |
| 46 | |
Florian Westphal | a5fedd43 | 2013-04-19 04:58:25 +0000 | [diff] [blame] | 47 | void nf_queue_entry_release_refs(struct nf_queue_entry *entry) |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 48 | { |
David S. Miller | 1d1de89 | 2015-04-03 16:31:01 -0400 | [diff] [blame] | 49 | struct nf_hook_state *state = &entry->state; |
| 50 | |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 51 | /* Release those devices we held, or Alexey will kill me. */ |
David S. Miller | 1d1de89 | 2015-04-03 16:31:01 -0400 | [diff] [blame] | 52 | if (state->in) |
| 53 | dev_put(state->in); |
| 54 | if (state->out) |
| 55 | dev_put(state->out); |
David Miller | 1c984f8 | 2015-04-05 22:19:00 -0400 | [diff] [blame] | 56 | if (state->sk) |
| 57 | sock_put(state->sk); |
Pablo Neira Ayuso | 1109a90 | 2014-10-01 11:19:17 +0200 | [diff] [blame] | 58 | #if IS_ENABLED(CONFIG_BRIDGE_NETFILTER) |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 59 | if (entry->skb->nf_bridge) { |
Florian Westphal | c737b7c | 2015-04-02 14:31:41 +0200 | [diff] [blame] | 60 | struct net_device *physdev; |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 61 | |
Florian Westphal | c737b7c | 2015-04-02 14:31:41 +0200 | [diff] [blame] | 62 | physdev = nf_bridge_get_physindev(entry->skb); |
| 63 | if (physdev) |
| 64 | dev_put(physdev); |
| 65 | physdev = nf_bridge_get_physoutdev(entry->skb); |
| 66 | if (physdev) |
| 67 | dev_put(physdev); |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 68 | } |
| 69 | #endif |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 70 | } |
Florian Westphal | a5fedd43 | 2013-04-19 04:58:25 +0000 | [diff] [blame] | 71 | EXPORT_SYMBOL_GPL(nf_queue_entry_release_refs); |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 72 | |
Florian Westphal | 4bd6044 | 2013-04-19 04:58:23 +0000 | [diff] [blame] | 73 | /* Bump dev refs so they don't vanish while packet is out */ |
Florian Westphal | ed78d09 | 2015-10-13 14:33:27 +0200 | [diff] [blame] | 74 | void nf_queue_entry_get_refs(struct nf_queue_entry *entry) |
Florian Westphal | 4bd6044 | 2013-04-19 04:58:23 +0000 | [diff] [blame] | 75 | { |
David S. Miller | 1d1de89 | 2015-04-03 16:31:01 -0400 | [diff] [blame] | 76 | struct nf_hook_state *state = &entry->state; |
| 77 | |
David S. Miller | 1d1de89 | 2015-04-03 16:31:01 -0400 | [diff] [blame] | 78 | if (state->in) |
| 79 | dev_hold(state->in); |
| 80 | if (state->out) |
| 81 | dev_hold(state->out); |
David Miller | 1c984f8 | 2015-04-05 22:19:00 -0400 | [diff] [blame] | 82 | if (state->sk) |
| 83 | sock_hold(state->sk); |
Pablo Neira Ayuso | 1109a90 | 2014-10-01 11:19:17 +0200 | [diff] [blame] | 84 | #if IS_ENABLED(CONFIG_BRIDGE_NETFILTER) |
Florian Westphal | 4bd6044 | 2013-04-19 04:58:23 +0000 | [diff] [blame] | 85 | if (entry->skb->nf_bridge) { |
Florian Westphal | 4bd6044 | 2013-04-19 04:58:23 +0000 | [diff] [blame] | 86 | struct net_device *physdev; |
| 87 | |
Florian Westphal | c737b7c | 2015-04-02 14:31:41 +0200 | [diff] [blame] | 88 | physdev = nf_bridge_get_physindev(entry->skb); |
Florian Westphal | 4bd6044 | 2013-04-19 04:58:23 +0000 | [diff] [blame] | 89 | if (physdev) |
| 90 | dev_hold(physdev); |
Florian Westphal | c737b7c | 2015-04-02 14:31:41 +0200 | [diff] [blame] | 91 | physdev = nf_bridge_get_physoutdev(entry->skb); |
Florian Westphal | 4bd6044 | 2013-04-19 04:58:23 +0000 | [diff] [blame] | 92 | if (physdev) |
| 93 | dev_hold(physdev); |
| 94 | } |
| 95 | #endif |
Florian Westphal | 4bd6044 | 2013-04-19 04:58:23 +0000 | [diff] [blame] | 96 | } |
Florian Westphal | a5fedd43 | 2013-04-19 04:58:25 +0000 | [diff] [blame] | 97 | EXPORT_SYMBOL_GPL(nf_queue_entry_get_refs); |
Florian Westphal | 4bd6044 | 2013-04-19 04:58:23 +0000 | [diff] [blame] | 98 | |
Aaron Conole | e3b37f1 | 2016-09-21 11:35:07 -0400 | [diff] [blame] | 99 | void nf_queue_nf_hook_drop(struct net *net, const struct nf_hook_entry *entry) |
Eric W. Biederman | 8405a8f | 2015-06-19 14:03:39 -0500 | [diff] [blame] | 100 | { |
| 101 | const struct nf_queue_handler *qh; |
Eric W. Biederman | 8405a8f | 2015-06-19 14:03:39 -0500 | [diff] [blame] | 102 | |
Eric W. Biederman | 8405a8f | 2015-06-19 14:03:39 -0500 | [diff] [blame] | 103 | rcu_read_lock(); |
Eric W. Biederman | dc3ee32 | 2016-05-13 21:18:52 -0500 | [diff] [blame] | 104 | qh = rcu_dereference(net->nf.queue_handler); |
Pablo Neira Ayuso | 2385eb0 | 2015-07-20 12:55:02 +0200 | [diff] [blame] | 105 | if (qh) |
Aaron Conole | e3b37f1 | 2016-09-21 11:35:07 -0400 | [diff] [blame] | 106 | qh->nf_hook_drop(net, entry); |
Eric W. Biederman | 8405a8f | 2015-06-19 14:03:39 -0500 | [diff] [blame] | 107 | rcu_read_unlock(); |
Eric W. Biederman | 8405a8f | 2015-06-19 14:03:39 -0500 | [diff] [blame] | 108 | } |
| 109 | |
YOSHIFUJI Hideaki | 601e68e | 2007-02-12 11:15:49 -0800 | [diff] [blame] | 110 | /* |
| 111 | * Any packet that leaves via this function must come back |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 112 | * through nf_reinject(). |
| 113 | */ |
Florian Westphal | a5fedd43 | 2013-04-19 04:58:25 +0000 | [diff] [blame] | 114 | int nf_queue(struct sk_buff *skb, |
David S. Miller | cfdfab3 | 2015-04-03 16:23:58 -0400 | [diff] [blame] | 115 | struct nf_hook_state *state, |
| 116 | unsigned int queuenum) |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 117 | { |
Florian Westphal | f158508 | 2011-01-18 15:27:28 +0100 | [diff] [blame] | 118 | int status = -ENOENT; |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 119 | struct nf_queue_entry *entry = NULL; |
Patrick McHardy | 1e796fd | 2007-12-17 22:42:27 -0800 | [diff] [blame] | 120 | const struct nf_afinfo *afinfo; |
Patrick McHardy | e3ac529 | 2007-12-05 01:23:57 -0800 | [diff] [blame] | 121 | const struct nf_queue_handler *qh; |
Eric W. Biederman | dc3ee32 | 2016-05-13 21:18:52 -0500 | [diff] [blame] | 122 | struct net *net = state->net; |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 123 | |
Lucas De Marchi | 25985ed | 2011-03-30 22:57:33 -0300 | [diff] [blame] | 124 | /* QUEUE == DROP if no one is waiting, to be safe. */ |
Eric W. Biederman | dc3ee32 | 2016-05-13 21:18:52 -0500 | [diff] [blame] | 125 | qh = rcu_dereference(net->nf.queue_handler); |
Florian Westphal | 94b27cc | 2011-01-18 16:08:30 +0100 | [diff] [blame] | 126 | if (!qh) { |
| 127 | status = -ESRCH; |
Florian Westphal | 81b4325 | 2015-10-13 14:33:28 +0200 | [diff] [blame] | 128 | goto err; |
Florian Westphal | 94b27cc | 2011-01-18 16:08:30 +0100 | [diff] [blame] | 129 | } |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 130 | |
David S. Miller | cfdfab3 | 2015-04-03 16:23:58 -0400 | [diff] [blame] | 131 | afinfo = nf_get_afinfo(state->pf); |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 132 | if (!afinfo) |
Florian Westphal | 81b4325 | 2015-10-13 14:33:28 +0200 | [diff] [blame] | 133 | goto err; |
Patrick McHardy | bce8032 | 2006-04-06 14:18:09 -0700 | [diff] [blame] | 134 | |
Patrick McHardy | 02f014d | 2007-12-05 01:26:33 -0800 | [diff] [blame] | 135 | entry = kmalloc(sizeof(*entry) + afinfo->route_key_size, GFP_ATOMIC); |
Florian Westphal | f158508 | 2011-01-18 15:27:28 +0100 | [diff] [blame] | 136 | if (!entry) { |
| 137 | status = -ENOMEM; |
Florian Westphal | 81b4325 | 2015-10-13 14:33:28 +0200 | [diff] [blame] | 138 | goto err; |
Florian Westphal | f158508 | 2011-01-18 15:27:28 +0100 | [diff] [blame] | 139 | } |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 140 | |
Patrick McHardy | 02f014d | 2007-12-05 01:26:33 -0800 | [diff] [blame] | 141 | *entry = (struct nf_queue_entry) { |
| 142 | .skb = skb, |
David S. Miller | 1d1de89 | 2015-04-03 16:31:01 -0400 | [diff] [blame] | 143 | .state = *state, |
Florian Westphal | a5fedd43 | 2013-04-19 04:58:25 +0000 | [diff] [blame] | 144 | .size = sizeof(*entry) + afinfo->route_key_size, |
Patrick McHardy | 02f014d | 2007-12-05 01:26:33 -0800 | [diff] [blame] | 145 | }; |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 146 | |
Florian Westphal | ed78d09 | 2015-10-13 14:33:27 +0200 | [diff] [blame] | 147 | nf_queue_entry_get_refs(entry); |
Eric Dumazet | 7fee226 | 2010-05-11 23:19:48 +0000 | [diff] [blame] | 148 | skb_dst_force(skb); |
Patrick McHardy | 02f014d | 2007-12-05 01:26:33 -0800 | [diff] [blame] | 149 | afinfo->saveroute(skb, entry); |
| 150 | status = qh->outfn(entry, queuenum); |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 151 | |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 152 | if (status < 0) { |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 153 | nf_queue_entry_release_refs(entry); |
| 154 | goto err; |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 155 | } |
| 156 | |
Florian Westphal | f158508 | 2011-01-18 15:27:28 +0100 | [diff] [blame] | 157 | return 0; |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 158 | |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 159 | err: |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 160 | kfree(entry); |
Florian Westphal | f158508 | 2011-01-18 15:27:28 +0100 | [diff] [blame] | 161 | return status; |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 162 | } |
| 163 | |
Patrick McHardy | 02f014d | 2007-12-05 01:26:33 -0800 | [diff] [blame] | 164 | void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict) |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 165 | { |
Aaron Conole | e3b37f1 | 2016-09-21 11:35:07 -0400 | [diff] [blame] | 166 | struct nf_hook_entry *hook_entry; |
Patrick McHardy | 02f014d | 2007-12-05 01:26:33 -0800 | [diff] [blame] | 167 | struct sk_buff *skb = entry->skb; |
Patrick McHardy | 1e796fd | 2007-12-17 22:42:27 -0800 | [diff] [blame] | 168 | const struct nf_afinfo *afinfo; |
Aaron Conole | e3b37f1 | 2016-09-21 11:35:07 -0400 | [diff] [blame] | 169 | struct nf_hook_ops *elem; |
Florian Westphal | f158508 | 2011-01-18 15:27:28 +0100 | [diff] [blame] | 170 | int err; |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 171 | |
Aaron Conole | e3b37f1 | 2016-09-21 11:35:07 -0400 | [diff] [blame] | 172 | hook_entry = rcu_dereference(entry->state.hook_entries); |
| 173 | elem = &hook_entry->ops; |
| 174 | |
Patrick McHardy | daaa8be | 2007-12-05 01:27:19 -0800 | [diff] [blame] | 175 | nf_queue_entry_release_refs(entry); |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 176 | |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 177 | /* Continue traversal iff userspace said ok... */ |
Florian Westphal | 7ceebfe | 2015-10-09 13:10:37 +0200 | [diff] [blame] | 178 | if (verdict == NF_REPEAT) |
| 179 | verdict = elem->hook(elem->priv, skb, &entry->state); |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 180 | |
| 181 | if (verdict == NF_ACCEPT) { |
David S. Miller | 1d1de89 | 2015-04-03 16:31:01 -0400 | [diff] [blame] | 182 | afinfo = nf_get_afinfo(entry->state.pf); |
Eric W. Biederman | d815d90 | 2015-09-25 15:07:28 -0500 | [diff] [blame] | 183 | if (!afinfo || afinfo->reroute(entry->state.net, skb, entry) < 0) |
Patrick McHardy | 7a11b98 | 2006-02-27 13:03:24 -0800 | [diff] [blame] | 184 | verdict = NF_DROP; |
| 185 | } |
| 186 | |
David S. Miller | 1d1de89 | 2015-04-03 16:31:01 -0400 | [diff] [blame] | 187 | entry->state.thresh = INT_MIN; |
David S. Miller | cfdfab3 | 2015-04-03 16:23:58 -0400 | [diff] [blame] | 188 | |
Patrick McHardy | 7a11b98 | 2006-02-27 13:03:24 -0800 | [diff] [blame] | 189 | if (verdict == NF_ACCEPT) { |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 190 | next_hook: |
Aaron Conole | e3b37f1 | 2016-09-21 11:35:07 -0400 | [diff] [blame] | 191 | verdict = nf_iterate(skb, &entry->state, &hook_entry); |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 192 | } |
| 193 | |
| 194 | switch (verdict & NF_VERDICT_MASK) { |
| 195 | case NF_ACCEPT: |
Patrick McHardy | 3bc3871 | 2006-07-24 22:52:47 -0700 | [diff] [blame] | 196 | case NF_STOP: |
Patrick McHardy | 4b3d15e | 2007-12-05 01:27:02 -0800 | [diff] [blame] | 197 | local_bh_disable(); |
Eric W. Biederman | 0c4b51f | 2015-09-15 20:04:18 -0500 | [diff] [blame] | 198 | entry->state.okfn(entry->state.net, entry->state.sk, skb); |
Patrick McHardy | 4b3d15e | 2007-12-05 01:27:02 -0800 | [diff] [blame] | 199 | local_bh_enable(); |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 200 | break; |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 201 | case NF_QUEUE: |
Aaron Conole | e3b37f1 | 2016-09-21 11:35:07 -0400 | [diff] [blame] | 202 | RCU_INIT_POINTER(entry->state.hook_entries, hook_entry); |
| 203 | err = nf_queue(skb, &entry->state, |
David S. Miller | cfdfab3 | 2015-04-03 16:23:58 -0400 | [diff] [blame] | 204 | verdict >> NF_VERDICT_QBITS); |
Florian Westphal | 06cdb63 | 2011-01-18 15:28:38 +0100 | [diff] [blame] | 205 | if (err < 0) { |
Florian Westphal | 94b27cc | 2011-01-18 16:08:30 +0100 | [diff] [blame] | 206 | if (err == -ESRCH && |
| 207 | (verdict & NF_VERDICT_FLAG_QUEUE_BYPASS)) |
| 208 | goto next_hook; |
Florian Westphal | 06cdb63 | 2011-01-18 15:28:38 +0100 | [diff] [blame] | 209 | kfree_skb(skb); |
| 210 | } |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 211 | break; |
Eric Dumazet | 64507fd | 2010-02-19 15:28:38 +0100 | [diff] [blame] | 212 | case NF_STOLEN: |
Julian Anastasov | fad5444 | 2011-08-05 00:36:28 +0000 | [diff] [blame] | 213 | break; |
Patrick McHardy | 3bc3871 | 2006-07-24 22:52:47 -0700 | [diff] [blame] | 214 | default: |
| 215 | kfree_skb(skb); |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 216 | } |
Florian Westphal | 81b4325 | 2015-10-13 14:33:28 +0200 | [diff] [blame] | 217 | |
Patrick McHardy | 02f014d | 2007-12-05 01:26:33 -0800 | [diff] [blame] | 218 | kfree(entry); |
Harald Welte | f6ebe77 | 2005-08-09 20:21:49 -0700 | [diff] [blame] | 219 | } |
| 220 | EXPORT_SYMBOL(nf_reinject); |