Small white bump

My boyfriend has a small white bump on the shaft of his penis. Nothing comes out when squeezed and it’ll go away then come back. He says it hurts sometimes. What is it?