[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170621.095207.1836095159650465700.davem@davemloft.net>
Date: Wed, 21 Jun 2017 09:52:07 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: cugyly@....com
Cc: netdev@...r.kernel.org, Linyu.Yuan@...atel-sbell.com.cn
Subject: Re: [PATCH net-next] idsn: fix wrong skb_put() used
From: yuan linyu <cugyly@....com>
Date: Wed, 21 Jun 2017 20:04:40 +0800
> From: yuan linyu <Linyu.Yuan@...atel-sbell.com.cn>
>
> in my commit b952f4dff2751252db073c27c0f8a16a416a2ddc,
> - *(u8 *)skb_put(skb_out, 1) = (u8)(accm >> 24); \
> + skb_put(skb_out, (u8)(accm >> 24)); \
> it should skb_put_u8()
>
> Fixes: b952f4dff275 ("net: manual clean code which call skb_put_[data:zero])")
> Signed-off-by: yuan linyu <Linyu.Yuan@...atel-sbell.com.cn>
Applied.
Powered by blists - more mailing lists