WSL2-Linux-Kernel/net/openvswitch
Dan Carpenter 5b3e7e6cb5 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 <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-07-23 00:59:54 -07:00
..
Kconfig net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
Makefile net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
actions.c openvswitch: potential NULL deref in sample() 2012-07-23 00:59:54 -07:00
datapath.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jesse/openvswitch 2012-07-20 16:16:34 -07:00
datapath.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
dp_notify.c openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
flow.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jesse/openvswitch 2012-07-20 16:16:34 -07:00
flow.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport-internal_dev.c openvswitch: Reset upper layer protocol info on internal devices. 2012-05-25 11:29:30 -07:00
vport-internal_dev.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport-netdev.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jesse/openvswitch 2012-07-20 16:16:34 -07:00
vport-netdev.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport.c openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00