[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141129.211212.2189096129383310983.davem@davemloft.net>
Date: Sat, 29 Nov 2014 21:12:12 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ykaneko0929@...il.com
Cc: netdev@...r.kernel.org, horms@...ge.net.au, magnus.damm@...il.com,
linux-sh@...r.kernel.org
Subject: Re: [PATCH v3] sh_eth: Fix skb alloc size and alignment adjust
rule.
From: Yoshihiro Kaneko <ykaneko0929@...il.com>
Date: Thu, 27 Nov 2014 20:34:00 +0900
> From: Mitsuhiro Kimura <mitsuhiro.kimura.kc@...esas.com>
>
> In the current driver, allocation size of skb does not care the alignment
> adjust after allocation.
> And also, in the current implementation, buffer alignment method by
> sh_eth_set_receive_align function has a bug that this function displace
> buffer start address forcedly when the alignment is corrected.
> In the result, tail of the skb will exceed allocated area and kernel panic
> will be occurred.
> This patch fix this issue.
>
> Signed-off-by: Mitsuhiro Kimura <mitsuhiro.kimura.kc@...esas.com>
> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists