[PATCH v2 3/5] udp, tcp: Tweak handling of no_udp and no_tcp flags