diff options
author | Li RongQing <roy.qing.li@gmail.com> | 2014-10-17 06:37:51 -0700 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2014-10-17 14:51:37 -0700 |
commit | 10173ceaa9acb3d76688eae5554e2b61a9e7c800 (patch) | |
tree | c1b17b1a58a8f351898b91eec48f331172d8e1d5 /acinclude.m4 | |
parent | 6bb842f6982050120ee1aa9961b2ec8c45ef7dba (diff) |
datapath: 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>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'acinclude.m4')
0 files changed, 0 insertions, 0 deletions