]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/syncookies.c
Merge branch 'for-linus' of git://neil.brown.name/md
[linux-2.6-omap-h63xx.git] / net / ipv4 / syncookies.c
index 929302b2ba942bf2523c1144dcb163fbdce17b32..d346c22aa6ae170a45d540f27cc04c3028f16c6e 100644 (file)
@@ -297,6 +297,7 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb,
        treq->rcv_isn           = ntohl(th->seq) - 1;
        treq->snt_isn           = cookie;
        req->mss                = mss;
+       ireq->loc_port          = th->dest;
        ireq->rmt_port          = th->source;
        ireq->loc_addr          = ip_hdr(skb)->daddr;
        ireq->rmt_addr          = ip_hdr(skb)->saddr;