Dave Chappelle was the victim of a drunken racist attack during a New Mexico show -- a guy in the crowd threw a banana peel at him ... and got thrown in jail for it.
Santa Fe cops busted Christian Englander after he hit Chappelle in the leg with the banana on Monday night. Not shockingly ... police say he appeared to be wasted, and confessed to doing it.
He was booked for battery and disorderly conduct.
Meanwhile, Chappelle seemed to brush it off -- according to fans at the venue, he used the ignorant attack as material in his show.