Which mass? Rest mass? Show me a photon at rest :D
The concept of mass is a little bit more complicated than "m". And no, I do not fully understand it. Not even nearly so.
You may also be interested in: Invariant mass, mass in special relativity, gravitational lens, mass in general relativity, ...