git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e054682
)
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
Ben Pfaff
<blp@nicira.com>
Thu, 12 Jan 2012 17:10:06 +0000
(09:10 -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
8ca243d
..
fc94a44
100644
(file)
--- a/
datapath/actions.c
+++ b/
datapath/actions.c
@@
-125,8
+125,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;
}