diff options
-rw-r--r-- | drivers/net/macvlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 07bcb8084d78..bbcf80afaf16 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c | |||
@@ -585,8 +585,8 @@ static int macvlan_port_create(struct net_device *dev) | |||
585 | err = netdev_rx_handler_register(dev, macvlan_handle_frame, port); | 585 | err = netdev_rx_handler_register(dev, macvlan_handle_frame, port); |
586 | if (err) | 586 | if (err) |
587 | kfree(port); | 587 | kfree(port); |
588 | 588 | else | |
589 | dev->priv_flags |= IFF_MACVLAN_PORT; | 589 | dev->priv_flags |= IFF_MACVLAN_PORT; |
590 | return err; | 590 | return err; |
591 | } | 591 | } |
592 | 592 | ||