Your husband is a diabetic and I assume that he is on treatment and his blood sugars are under control.
Infection in a Diabetic takes little longer time to heal depending on the blood sugar and immune status.
Besides the infection there may be any soft tissue injury
to the knee.
of the knee may help.
Consult an orthopediatrician.