Commit 17b85d2
net/core: revert "net: fix __netdev_update_features return.." and add comment
This reverts commit 00ee592 ("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>1 parent a3a116e commit 17b85d2
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6436 | 6436 | | |
6437 | 6437 | | |
6438 | 6438 | | |
6439 | | - | |
| 6439 | + | |
| 6440 | + | |
| 6441 | + | |
| 6442 | + | |
6440 | 6443 | | |
6441 | 6444 | | |
6442 | 6445 | | |
| |||
0 commit comments