From: Dan Carpenter Date: Mon, 23 Jul 2012 07:46:28 +0000 (+0300) Subject: openvswitch: potential NULL deref in sample() X-Git-Tag: v3.6-rc1~125^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b3e7e6cb5771bedda51cdb6f715d1da8cd9e644;p=pandora-kernel.git openvswitch: potential NULL deref in sample() If there is no OVS_SAMPLE_ATTR_ACTIONS set then "acts_list" is NULL and it leads to a NULL dereference when we call nla_len(acts_list). This is a static checker fix, not something I have seen in testing. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed