commit | 389f48947a5a37ea283de520abb742d42174edb0 | [log] [tgz] |
---|---|---|
author | Li RongQing <roy.qing.li@gmail.com> | Fri Oct 17 14:03:08 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 17 16:21:53 2014 -0400 |
tree | b49a5aed5e318b3be08c23025889522b9db48602 | |
parent | 4062090e3e5caaf55bed4523a69f26c3265cc1d2 [diff] |
openvswitch: fix a use after free pskb_may_pull() called by arphdr_ok can change skb->data, so put the arp setting after arphdr_ok to avoid the use the freed memory Fixes: 0714812134d7d ("openvswitch: Eliminate memset() from flow_extract.") Cc: Jesse Gross <jesse@nicira.com> Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Acked-by: Jesse Gross <jesse@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>