Re: [PATCH net] mpls: handle device renames for per-device sysctls

2015-06-11 Thread David Miller
From: Robert Shearman rshea...@brocade.com Date: Thu, 11 Jun 2015 19:58:26 +0100 If a device is renamed and the original name is subsequently reused for a new device, the following warning is generated: ... Fix this by unregistering the previous sysctl table (registered for the path

[PATCH net] mpls: handle device renames for per-device sysctls

2015-06-11 Thread Robert Shearman
If a device is renamed and the original name is subsequently reused for a new device, the following warning is generated: sysctl duplicate entry: /net/mpls/conf/veth0//input CPU: 3 PID: 1379 Comm: ip Not tainted 4.1.0-rc4+ #20 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS