A black police officer and uncle of a protestor was just sued for around 4 million, for ordering hard foam projectiles fired at his nephew protestor after he said "Our ancestors would be rolling over in their grave!"
If a white guy called him the "N word" I doubt there would be any question he acted appropriately.