diff options
| author | Jesse Gross <jesse@nicira.com> | 2010-05-12 12:40:45 -0700 |
|---|---|---|
| committer | Jesse Gross <jesse@nicira.com> | 2010-05-14 15:10:45 -0700 |
| commit | 8819fac72b9888bec99aae656bcdb1631b99d01b (patch) | |
| tree | aa7bcaaa4a59415b4f928e9e89a275156a57903f /datapath/vport-gre.c | |
| parent | 1c075d0aff8267b05073971211e79d73392078cf (diff) | |
| download | openvswitch-8819fac72b9888bec99aae656bcdb1631b99d01b.tar.gz | |
datapath: Don't expect bottom-halves to be disabled.
We currently document that BHs need to be disabled when handling
received packets. However, this isn't actually generally the
case (usually preemption is disabled but not BHs). Only one place
actually relies on BHs being disabled so fix that and update the
documentation of our expectations.
Diffstat (limited to 'datapath/vport-gre.c')
| -rw-r--r-- | datapath/vport-gre.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datapath/vport-gre.c b/datapath/vport-gre.c index 654ead064..bd6d4a3c2 100644 --- a/datapath/vport-gre.c +++ b/datapath/vport-gre.c @@ -735,7 +735,7 @@ handle_csum_offload(struct sk_buff *skb) } } -/* Called with rcu_read_lock and bottom-halves disabled. */ +/* Called with rcu_read_lock. */ static void gre_err(struct sk_buff *skb, u32 info) { @@ -847,7 +847,7 @@ out: skb->protocol = htons(ETH_P_IP); } -/* Called with rcu_read_lock and bottom-halves disabled. */ +/* Called with rcu_read_lock. */ static int gre_rcv(struct sk_buff *skb) { |
