Trivial 2.6 tftp conntrack fix
Subsystems (2)
PATCH 1/1 Trivial 2.6 tftp conntrack fix
Name: TFTP Conntrack Helper Return Fix
Author: Rusty Russell
Status: Trivial
D: In 2.6, the TFTP conntrack helper returns -1 if the packet is too
D: short, but that is an invalid return code. Return NF_ACCEPT
D: instead.
net/ipv4/netfilter/ip_conntrack_tftp.c +1 -1
@@ -44,7 +44,7 @@ static int tftp_help(struct sk_buff *skbif (skb_copy_bits (skb, skb->nh.iph->ihl *4 +sizeof (struct udphdr ), &tftph,sizeof (tftph)) !=0 ) -return -1 ; +return NF_ACCEPT ;switch (ntohs (tftph.opcode)) {/* RRQ and WRQ works the same way */
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
David S. Miller
AppliedQuoted 3 lines · On Thu, 21 Aug 2003 01:00:10 +1000 Rusty Russell <[email protected]> wrote:
D: In 2.6, the TFTP conntrack helper returns -1 if the packet is too
D: short, but that is an invalid return code. ReturnNF_ACCEPT
D: instead.
Applied, thanks Rusty.