On Sonntag, 18. Juni 2017 09:59:28 CEST Sven Eckelmann wrote:
skb_put_data makes it unnecessary to store the skb_put return value to copy some data to the packet. The returned pointer of skb_put_data should therefore not stored by functions which previously only used it to copy some data.
Signed-off-by: Sven Eckelmann sven@narfation.org
This patch belongs to the series https://patchwork.open-mesh.org/project/b.a.t.m.a.n./list/?series=11 It must not be squashed in the "batman-adv: introduce and use skb_put_data()" because it is already part of net-next and we must port the change in our patch in a separate pull request.
Applied as 6e94ef826db0 [1] to reduce the number of warnings from the daily build tests.
Kind regards, Sven
[1] https://git.open-mesh.org/batman-adv.git/commit/6e94ef826db02e0f6b0fb286ee0c...