Tight socks act as ligation and impede blood supply. This causes constriction and swelling may be due to its result. But these symptoms should be cured when socks are not worn. If redness
is associated with heat in the area rule out cellulitis
or any other infective leison in the area. Let me know if lump recedes on removing socks or it persists.