Re: [patch net-next v2 01/28] net: dev: Check CHANGEUPPER notifier return value

From
Nikolay Aleksandrov <hidden>
Date
2015-12-02 20:24:01
Reply to
Jiri Pirko, 2015-12-02
On 12/02/2015 09:07 PM, Jiri Pirko wrote:
From: Ido Schimmel <redacted>

switchdev drivers reflect the newly requested topology to hardware when
CHANGEUPPER is received, after software links were already formed.
However, the operation can fail and user will not be notified, as the
return value of the notifier is not checked.

Add this check and rollback software links if necessary.

Signed-off-by: Ido Schimmel <redacted>
Signed-off-by: Jiri Pirko <redacted>
---
v1->v2:
-new patch
---
Reviewed-by: Nikolay Aleksandrov <redacted>
Thread (38 messages) 38 messages, 6 authors, last reply 2015-12-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help