diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2016-06-21 13:14:07 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2016-06-23 11:58:16 +0300 |
commit | bce271f255dae8335dc4d2ee2c4531e09cc67f5a (patch) | |
tree | cef6df6dafbd828be610e723b056c740dbf07079 /drivers/ide/umc8672.c | |
parent | acd43fe85b2d1dbad55ce211b8817e6d6687246f (diff) | |
download | linux-bce271f255dae8335dc4d2ee2c4531e09cc67f5a.tar.xz |
can: fix handling of unmodifiable configuration options fix
With upstream commit bb208f144cf3f59 (can: fix handling of unmodifiable
configuration options) a new can_validate() function was introduced.
When invoking 'ip link set can0 type can' without any configuration data
can_validate() tries to validate the content without taking into account that
there's totally no content. This patch adds a check for missing content.
Reported-by: ajneu <ajneu1@gmail.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/ide/umc8672.c')
0 files changed, 0 insertions, 0 deletions