Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/hsr: Fix NULL pointer dereference on incomplete hsr_newlink() par…
…ams. 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]>
- Loading branch information