]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4_en: fix skb truesize underestimation
authorJoe Jin <joe.jin@oracle.com>
Thu, 15 Dec 2011 01:36:34 +0000 (09:36 +0800)
committerJoe Jin <joe.jin@oracle.com>
Thu, 15 Dec 2011 01:36:34 +0000 (09:36 +0800)
commit614e79c4212f098e09a1d45f37d2442aa9d7c5e5
treea23be6d937e26715ace73d9afb3ca81419cbbe0d
parenta19665659b831d596b60b302b6444f94b86656fe
mlx4_en: fix skb truesize underestimation

commit 90278c9ffb8a92672d60a618a58a99e2370a98ac
Author: Eric Dumazet <eric.dumazet@gmail.com>
Date:   Wed Oct 19 18:49:52 2011 +0000

    mlx4_en: fix skb truesize underestimation

    skb->truesize must account for allocated memory, not the used part of
    it. Doing this work is important to avoid unexpected OOM situations.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/mlx4/en_rx.c