projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c41f08
)
datapath: Use correct ethernet addr len.
author
Pravin B Shelar
<pshelar@nicira.com>
Sat, 12 Nov 2011 00:09:20 +0000
(16:09 -0800)
committer
Pravin B Shelar
<pshelar@nicira.com>
Sat, 12 Nov 2011 00:09:20 +0000
(16:09 -0800)
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/actions.c
patch
|
blob
|
history
diff --git
a/datapath/actions.c
b/datapath/actions.c
index dc74a3768776cf0e4d86171e439a8c4be9cbff76..ac7187bc3000bea61ec736ed2f753d16b5809862 100644
(file)
--- a/
datapath/actions.c
+++ b/
datapath/actions.c
@@
-124,8
+124,8
@@
static int set_eth_addr(struct sk_buff *skb,
if (unlikely(err))
return err;
- memcpy(eth_hdr(skb)->h_source, eth_key->eth_src, ETH_
H
LEN);
- memcpy(eth_hdr(skb)->h_dest, eth_key->eth_dst, ETH_
H
LEN);
+ memcpy(eth_hdr(skb)->h_source, eth_key->eth_src, ETH_
A
LEN);
+ memcpy(eth_hdr(skb)->h_dest, eth_key->eth_dst, ETH_
A
LEN);
return 0;
}