diff options
| author | Jamal Hadi Salim <hadi@zynx.com> | 2004-06-29 00:20:59 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-06-29 00:20:59 -0700 |
| commit | fd325c201e65302074ee64f44d96c72d6077d788 (patch) | |
| tree | f35f0980f92babc8c152e88443aca6c1c4d59551 /net/core/dev.c | |
| parent | be4f1e00351b9d0d699a33f08cc8e607e7be0594 (diff) | |
[NET]: Two tc action fixes.
Another patchlet after turning on preempt and rerunning tests.
- against dev.c is a genuine bug - i wish preempt would have
given a more sane hint. Strange on how its a non issue when preempt is
off.
- against act_api.c is just an annoyance. I removed the kmod because it
will only make sense to list actions if policies exist for that action.
And if policies exist, the module would be loaded.
Signed-off-by: Jamal Hadi Salim <hadi@zynx.com>
Signed-off-by: David S. Miller <davem@redhat.com>
Diffstat (limited to 'net/core/dev.c')
| -rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 7ded444a61fe..381cd85a4c20 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1834,6 +1834,7 @@ int netif_receive_skb(struct sk_buff *skb) #ifdef CONFIG_NET_CLS_ACT if (skb->tc_verd & TC_NCLS) { skb->tc_verd = CLR_TC_NCLS(skb->tc_verd); + rcu_read_lock(); goto ncls; } #endif |
