projects
/
wrapfs-3.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38ae26
)
Revert "can: fix handling of unmodifiable configuration options fix"
author
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 9 Sep 2016 11:32:42 +0000
(13:32 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 11 Sep 2016 07:59:58 +0000
(09:59 +0200)
This reverts commit
6f8f768a3586b6fbd50e249e7fe4f964a6994685
which was
bce271f255dae8335dc4d2ee2c4531e09cc67f5a
upstream.
It was applied incorrectly, and isn't needed for 3.14-stable.
Reported-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
drivers/net/can/dev.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/dev.c
b/drivers/net/can/dev.c
index fa78e45a2beeb424a6efeb305e6d3db61b3165b7..de333c740203ddd68a1449b12a6a2d4b0b518f54 100644
(file)
--- a/
drivers/net/can/dev.c
+++ b/
drivers/net/can/dev.c
@@
-665,9
+665,6
@@
static int can_changelink(struct net_device *dev,
}
}
- if (!data)
- return 0;
-
if (data[IFLA_CAN_CTRLMODE]) {
struct can_ctrlmode *cm;