Add comment.
authorBen Pfaff <blp@nicira.com>
Tue, 11 Nov 2008 23:48:08 +0000 (15:48 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 13 Nov 2008 20:44:04 +0000 (12:44 -0800)
datapath/nx_act_snat.c

index 8bf2ed7..e577c9d 100644 (file)
@@ -399,6 +399,9 @@ snat_skb(struct datapath *dp, const struct sk_buff *skb, int out_port)
        if (!p)
                return;
 
+       /* FIXME: Expensive.  Just need to skb_clone() here?
+        * (However, the skb_copy() does linearize and ensure that the headers
+        * are accessible.) */
        nskb = skb_copy(skb, GFP_ATOMIC);
        if (!nskb)
                return;