[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140213.163541.735423321393675744.davem@davemloft.net>
Date: Thu, 13 Feb 2014 16:35:41 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: erik.hugne@...csson.com
Cc: netdev@...r.kernel.org, jon.maloy@...csson.com,
ying.xue@...driver.com, paul.gortmaker@...driver.com,
tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net] tipc: fix message corruption bug for deferred
packets
From: <erik.hugne@...csson.com>
Date: Tue, 11 Feb 2014 11:38:26 +0100
> From: Erik Hugne <erik.hugne@...csson.com>
>
> If a packet received on a link is out-of-sequence, it will be
> placed on a deferred queue and later reinserted in the receive
> path once the preceding packets have been processed. The problem
> with this is that it will be subject to the buffer adjustment from
> link_recv_buf_validate twice. The second adjustment for 20 bytes
> header space will corrupt the packet.
>
> We solve this by tagging the deferred packets and bail out from
> receive buffer validation for packets that have already been
> subjected to this.
>
> Signed-off-by: Erik Hugne <erik.hugne@...csson.com>
> Reviewed-by: Jon Maloy <jon.maloy@...csson.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists