]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
openvswitch: remove some useless comments
authorCong Wang <amwang@redhat.com>
Fri, 22 Feb 2013 11:41:26 +0000 (19:41 +0800)
committerJesse Gross <jesse@nicira.com>
Sat, 23 Feb 2013 01:02:49 +0000 (17:02 -0800)
These comments are useless in upstream kernel.

Cc: David S. Miller <davem@davemloft.net>
Cc: Jesse Gross <jesse@nicira.com>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/vport-netdev.c
net/openvswitch/vport.c

index 670cbc3518ded5930f900eaca7e0677835cf750b..2130d61c384a227e0d7f5093e285054497e8fb40 100644 (file)
@@ -43,8 +43,7 @@ static void netdev_port_receive(struct vport *vport, struct sk_buff *skb)
 
        /* Make our own copy of the packet.  Otherwise we will mangle the
         * packet for anyone who came before us (e.g. tcpdump via AF_PACKET).
-        * (No one comes after us, since we tell handle_bridge() that we took
-        * the packet.) */
+        */
        skb = skb_share_check(skb, GFP_ATOMIC);
        if (unlikely(!skb))
                return;
index 70af0bedbac4db09c08c896ba0173466e29e9b79..6255e48e64c4b8283a59c13f0bba3bd3dff9914e 100644 (file)
@@ -326,8 +326,7 @@ int ovs_vport_get_options(const struct vport *vport, struct sk_buff *skb)
  * @skb: skb that was received
  *
  * Must be called with rcu_read_lock.  The packet cannot be shared and
- * skb->data should point to the Ethernet header.  The caller must have already
- * called compute_ip_summed() to initialize the checksumming fields.
+ * skb->data should point to the Ethernet header.
  */
 void ovs_vport_receive(struct vport *vport, struct sk_buff *skb)
 {