projects
/
wrapfs-5.3.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7d223
)
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
Jiri Slaby
<jslaby@suse.cz>
Thu, 29 Sep 2016 09:13:52 +0000
(11:13 +0200)
This reverts commit
ded1c127d6dc1a1827f3ff657a4cb7edd646092e
which was
bce271f255dae8335dc4d2ee2c4531e09cc67f5a
upstream.
It was applied incorrectly, and isn't needed for 3.12-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 561bed7eb6a5f784ab93b2ffad565067b96f9a24..464e5f66b66d1deda52d70474e78f38ad9b07c49 100644
(file)
--- a/
drivers/net/can/dev.c
+++ b/
drivers/net/can/dev.c
@@
-644,9
+644,6
@@
static int can_changelink(struct net_device *dev,
/* We need synchronization with dev->stop() */
ASSERT_RTNL();
- if (!data)
- return 0;
-
if (data[IFLA_CAN_CTRLMODE]) {
struct can_ctrlmode *cm;