One way to possibly evade an attacking bird, would be to increase your altitude quickly, and fly straight up.
Birds can quickly change lateral direction, or dive, but increasing altitude quickly is a more difficult maneuver, and they cannot go directly upward, like a quad is able to do.