netdev: change name dropping error codes
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 20 Oct 2008 06:33:56 +0000 (23:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Oct 2008 06:33:56 +0000 (23:33 -0700)
commit92845ffd2a221f9f90b064ac55bb010bf27a193f
tree5679281371a62d229c1ebb9ad6f9d59ffdeb014a
parent0537ae6a3d7d6d9005446ee6419272fd4c38a58d
netdev: change name dropping error codes

If changename notifier returns an error code, it gets incorrectly
cleared during rollback so the error is never returned to the user.
Found while testing similar code for MTU changes.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c