*Hugs* mama; I've been there too, my son did the same thing every time new teeth came through, and I tried every 'discipline' tactic (not sure if discipline really applies at that age just can't find a better word) out there, from yelling Ow, putting him down, no more nursing for x minutes, flicking his cheek, etc. None of that made any difference to him - he most certainly wasn't done eating yet,and I think he was biting more out of frustration at the pain then anything else. (nursing creates a sort of inverse pressure on their gums, which has the opposite effect of chewing something, it increases the pain in tender swollen gums.) The one thing that helped for us was to let him chew something cold before nursing, either a teether in the freezer or just put a damp washrag in the freezer, and then let him nurse while his mouth was still a little numb from the cold. It didn't stop it entirely, and that cold little mouth nursing the first couple times is a bit of a shock, but certainly better then the biting.
Another thing you could try - it didn't work for me & my son, but a friend taught her daughter to bite her shirt... so the baby would nurse, pop off, grab mom's shirt and chew on it for a bit, then go back to nursing. My son never quite caught onto that one, but it seemed to work rather well for them, can't hurt to try, right?
Hugs again, hope those teeth come through soon so you can get back to your regular routine!