projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42841a1
)
Add comment.
author
Ben Pfaff
<blp@nicira.com>
Tue, 11 Nov 2008 23:48:08 +0000
(15:48 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 13 Nov 2008 20:44:04 +0000
(12:44 -0800)
datapath/nx_act_snat.c
patch
|
blob
|
history
diff --git
a/datapath/nx_act_snat.c
b/datapath/nx_act_snat.c
index 8bf2ed71b4ab59b2bab49901b72459510d6bd0dd..e577c9d4c52a0955e71701c10abad4fd84789ea7 100644
(file)
--- a/
datapath/nx_act_snat.c
+++ b/
datapath/nx_act_snat.c
@@
-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;