aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2016-06-24 23:25:24 +0000
committerDavid S. Miller <[email protected]>2016-06-29 07:51:40 +0000
commit69fc58a57e56bf5e39b48809aefffdaa1b04c945 (patch)
tree765e38a7aa3f81cdf02fd0750e810e729ecfa084 /net/ipv4/tcp_output.c
parentsock_diag: do not broadcast raw socket destruction (diff)
downloadkernel-69fc58a57e56bf5e39b48809aefffdaa1b04c945.tar.gz
kernel-69fc58a57e56bf5e39b48809aefffdaa1b04c945.zip
net: phy: Manage fixed PHY address space using IDA
If we have a system which uses fixed PHY devices and calls fixed_phy_register() then fixed_phy_unregister() we can exhaust the number of fixed PHYs available after a while, since we keep incrementing the variable phy_fixed_addr, but we never decrement it. This patch fixes that by converting the fixed PHY allocation to using IDA, which takes care of the allocation/dealloaction of the PHY addresses for us. Fixes: a75951217472 ("net: phy: extend fixed driver with fixed_phy_register()") Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions