summaryrefslogtreecommitdiff
path: root/drivers/net/phy/fixed_phy.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2015-08-31 10:44:19 -0700
committerDavid S. Miller <davem@davemloft.net>2015-08-31 12:45:09 -0700
commit6ea3c9d5b042edf14eac1e21af21c41f81f3491e (patch)
tree313f0bacf4abc9db2c8063463335747f9cd76bec /drivers/net/phy/fixed_phy.c
parentf0fa6e529efbca3b97ab6286dbeb5910e33f6c53 (diff)
mpls: fix mpls_net_init memory leak
Fix a memory leak in the mpls netns init function in case of failure. If register_net_sysctl fails then we need to free the ctl_table. Fixes: 7720c01f3f59 ("mpls: Add a sysctl to control the size of the mpls label table") Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/fixed_phy.c')
0 files changed, 0 insertions, 0 deletions