diff options
author | Arvid Brodin <[email protected]> | 2014-07-04 23:42:00 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-07-08 11:35:31 -0700 |
commit | a718dcc5e56546a62d00f57cc875faac2f42c8bf (patch) | |
tree | 35ea41cdc4e877c852fba2f82077964e1458dfe5 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | f266a683a4804dc499efc6c2206ef68efed029d0 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions