[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150827.212639.868701692675372953.davem@davemloft.net>
Date: Thu, 27 Aug 2015 21:26:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: chenweilong@...wei.com
Cc: eric.dumazet@...il.com, edumazet@...gle.com,
alexander.h.duyck@...hat.com, willemb@...gle.com,
hannes@...essinduktion.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: Check frag_lists first to prevent data
out of order
From: Weilong Chen <chenweilong@...wei.com>
Date: Fri, 28 Aug 2015 11:35:40 +0800
> In my test, @to has a fraglist, but skb_tailroom(to) is not 0!
> The test is about tipc, the function tipc_buf_append will merge 3 skbs
> to one:
> packet 1: len = 1420 skb_tailroom = 190
> packet 2: len = 1420
> packet 2 will be add to 1' fraglist, but not update skb_tailroom
This operation is illegal.
Once there are frags, tailroom is not permitted.
--
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