diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2013-07-01 14:19:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 10:57:36 -0800 |
commit | 69848a721c5a84b63f1801e340cc2e6cdde17c61 (patch) | |
tree | 19b39d2946430a00f75669e746cafe688161042b /net/nonet.c | |
parent | 2c4805f3ae216cfd6fc2a386ea523d5a6eee6fdc (diff) |
iwl4965: better skb management in rx path
commit c1de4a9557d9e25e41fc4ba034b9659152205539 upstream.
4965 version of Eric patch "iwl3945: better skb management in rx path".
It fixes several problems :
1) skb->truesize is underestimated.
We really consume PAGE_SIZE bytes for a fragment,
not the frame length.
2) 128 bytes of initial headroom is a bit low and forces reallocations.
3) We can avoid consuming a full page for small enough frames.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/nonet.c')
0 files changed, 0 insertions, 0 deletions