From: Li RongQing Date: Fri, 17 Oct 2014 06:03:08 +0000 (+0800) Subject: openvswitch: fix a use after free X-Git-Tag: fixes-against-v3.18-rc2~61^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=389f48947a5a37ea283de520abb742d42174edb0;p=pandora-kernel.git 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 Cc: Eric Dumazet Signed-off-by: Li RongQing Acked-by: Jesse Gross Signed-off-by: David S. Miller --- Reading git-diff-tree failed