My parents said that that’s what the rabbi recommended. He surely would’ve known that my father had the same name. Also obviously my dad knew. It’s not like “sinful” afaik but definitely faux pas and against traditional naming conventions, no?
Once had someone suggest (kind of out there guy in tzfat nearly ten years ago) it meant I was nameless and meant to choose my own name.
There are probably many ways to look at it if we wanted to read into it.