To me, my beer has never smelt "funky" but I dont know what you consider to be funky. It always smells like carbon dioxide and beer to me. Is it a sour or rotten odor? I would think if it was rancid it would taste bad or off, but I go by the motto "when in doubt, throw it out"
What hops did you use? Some that are described as earthy can be considered oniony to some people.