summaryrefslogtreecommitdiffstats
path: root/Documentation/accounting
diff options
context:
space:
mode:
authorArvid Brodin <arvid.brodin@alten.se>2014-07-04 23:42:00 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-08 20:35:31 +0200
commita718dcc5e56546a62d00f57cc875faac2f42c8bf (patch)
tree35ea41cdc4e877c852fba2f82077964e1458dfe5 /Documentation/accounting
parentnet/hsr: Better frame dispatch (diff)
downloadlinux-a718dcc5e56546a62d00f57cc875faac2f42c8bf.tar.xz
linux-a718dcc5e56546a62d00f57cc875faac2f42c8bf.zip
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>
Diffstat (limited to 'Documentation/accounting')
0 files changed, 0 insertions, 0 deletions