Home
last modified time | relevance | path

Searched hist:"389 f48947a5a37ea283de520abb742d42174edb0" (Results 1 – 1 of 1) sorted by relevance

/linux/net/openvswitch/
H A Dflow.cdiff 389f48947a5a37ea283de520abb742d42174edb0 Fri Oct 17 08:03:08 CEST 2014 Li RongQing <roy.qing.li@gmail.com> 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>