From: David M. <da...@da...> - 2019-02-12 02:36:38
|
From: Hoang Le <hoa...@de...> Date: Mon, 11 Feb 2019 09:18:28 +0700 > When we free skb at tipc_data_input, we return a 'false' boolean. > Then, skb passed to subcalling tipc_link_input in tipc_link_rcv, > > <snip> > 1303 int tipc_link_rcv: > ... > 1354 if (!tipc_data_input(l, skb, l->inputq)) > 1355 rc |= tipc_link_input(l, skb, l->inputq); > </snip> > > Fix it by simple changing to a 'true' boolean when skb is being free-ed. > Then, tipc_link_rcv will bypassed to subcalling tipc_link_input as above > condition. > > Acked-by: Ying Xue <yin...@wi...> > Acked-by: Jon Maloy <ma...@do...> > Signed-off-by: Hoang Le <hoa...@de...> Applied, thanks. |