diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-11-17 15:49:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-17 21:25:45 +0100 |
commit | 17b85d29e82cc3c874a497a8bc5764d6a2b043e2 (patch) | |
tree | 7234f1e9f3a38dff362a6efc9f775757ad9c5849 /lib/test-hexdump.c | |
parent | af_unix: take receive queue lock while appending new skb (diff) | |
download | linux-17b85d29e82cc3c874a497a8bc5764d6a2b043e2.tar.xz linux-17b85d29e82cc3c874a497a8bc5764d6a2b043e2.zip |
net/core: revert "net: fix __netdev_update_features return.." and add comment
This reverts commit 00ee59271777 ("net: fix __netdev_update_features return
on ndo_set_features failure")
and adds a comment explaining why it's okay to return a value other than
0 upon error. Some drivers might actually change flags and return an
error so it's better to fire a spurious notification rather than miss
these.
CC: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test-hexdump.c')
0 files changed, 0 insertions, 0 deletions