On Friday, October 19, 2012 17:51:50 Sven Eckelmann wrote:
a7fe30736a46d203b74e9fb2df3fb4e1d94222bc ("batman-adv: Add function to calculate crc32c for the skb payload") introduced a function that walked through the three different socket buffer classes to compute the crc32 for an skb. This function is affected by many changes to the sk_buff structure in future. This can be avoided by using the sequential read functions to access blocks transparently.
Reported-by: Martin Hundebøll martin@hundeboll.net Reported-by: Marek Lindner lindner_marek@yahoo.de Signed-off-by: Sven Eckelmann sven@narfation.org
compat.h | 35 ----------------------------------- main.c | 31 +++++++++++++------------------ main.h | 2 +- 3 files changed, 14 insertions(+), 54 deletions(-)
Applied in revision 3c26295.
Thanks, Marek