summaryrefslogtreecommitdiff
path: root/datapath/vport-gre.c
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2010-05-12 12:40:45 -0700
committerJesse Gross <jesse@nicira.com>2010-05-14 15:10:45 -0700
commit8819fac72b9888bec99aae656bcdb1631b99d01b (patch)
treeaa7bcaaa4a59415b4f928e9e89a275156a57903f /datapath/vport-gre.c
parent1c075d0aff8267b05073971211e79d73392078cf (diff)
downloadopenvswitch-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.c4
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)
{