Re: [B.A.T.M.A.N.] [PATCH] batman-adv: check for more space before accessing the skb
From: Marek Lindner <hidden>
Date: 2012-09-02 08:42:01
From: Marek Lindner <hidden>
Date: 2012-09-02 08:42:01
On Monday, August 27, 2012 05:25:59 Antonio Quartulli wrote:
In batadv_check_unicast_ttvn() the code accesses both the unicast header and the Ethernet header in the payload. For this reason pskb_may_pull() must be invoked to check for the required space. Signed-off-by: Antonio Quartulli <redacted> --- routing.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Applied in revision 94494a1. Thanks, Marek