linux/net/hsr
Arvid Brodin a718dcc5e5 net/hsr: Fix NULL pointer dereference on incomplete hsr_newlink() params.
If none of the slave interfaces are specified, struct nlattr *data[] may
be NULL. Make sure to check for that.

While I'm at it, fix the horrible error messages displayed when only one
of the slave interfaces isn't specified.

Signed-off-by: Arvid Brodin <arvid.brodin@alten.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-08 11:35:31 -07:00
..
hsr_device.c net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_device.h net/hsr: Operstate handling cleanup. 2014-07-08 11:35:30 -07:00
hsr_forward.c net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_forward.h net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_framereg.c net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_framereg.h net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_main.c net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_main.h net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_netlink.c net/hsr: Fix NULL pointer dereference on incomplete hsr_newlink() params. 2014-07-08 11:35:31 -07:00
hsr_netlink.h net/hsr: Use list_head (and rcu) instead of array for slave devices. 2014-07-08 11:35:31 -07:00
hsr_slave.c net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_slave.h net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
Kconfig net/hsr: Add support for the High-availability Seamless Redundancy protocol (HSRv0) 2013-11-03 23:20:14 -05:00
Makefile net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00