Who/whom whoever/whomever
If pronoun is subject, use who or whoever...
"Sally, who once danced very well, tripped and broke her knee. We all laughed."
"The pudding, which was given to whoever wanted it, was made from soy milk and real cocoa. I like pudding." (Ok.. last part was for someone...