netdev
[Top] [All Lists]

Re: [IPV4] Check mtu instead of frag_list in ip_push_pending_frames

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [IPV4] Check mtu instead of frag_list in ip_push_pending_frames
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Wed, 23 Mar 2005 12:20:02 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20050321105622.GA23809@xxxxxxxxxxxxxxxxxxx>
References: <20050321105622.GA23809@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 21 Mar 2005 21:56:22 +1100
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> The fix is similar to what we did in ip_output.  Instead of checking
> whether frag_list is empty, we check the condition skb->len <= dst_mtu
> directly and set the DF bit based on that.

Looks good, applied.

Thanks Herbert.

<Prev in Thread] Current Thread [Next in Thread>