diff options
| author | Eric Dumazet <[email protected]> | 2012-04-10 20:08:39 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-04-11 14:10:43 +0000 |
| commit | 87151b8689d890dfb495081f7be9b9e257f7a2df (patch) | |
| tree | cb12becc26090b9fd9275f25cee851ffb40d931f /lib/mpi/mpi-bit.c | |
| parent | bridge: Do not send queries on multicast group leaves (diff) | |
| download | kernel-87151b8689d890dfb495081f7be9b9e257f7a2df.tar.gz kernel-87151b8689d890dfb495081f7be9b9e257f7a2df.zip | |
net: allow pskb_expand_head() to get maximum tailroom
Marc Merlin reported many order-1 allocations failures in TX path on its
wireless setup, that dont make any sense with MTU=1500 network, and non
SG capable hardware.
Turns out part of the problem comes from pskb_expand_head() not using
ksize() to get exact head size given by kmalloc(). Doing the same thing
than __alloc_skb() allows more tailroom in skb and can prevent future
reallocations.
As a bonus, struct skb_shared_info becomes cache line aligned.
Reported-by: Marc MERLIN <[email protected]>
Tested-by: Marc MERLIN <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
