summaryrefslogtreecommitdiff
path: root/crypto/ctr.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-02-09 03:24:13 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-02-09 03:24:13 (GMT)
commitd6301d3dd1c287b32132dda15272a50c11e92a14 (patch)
treed4e329fc83fd47331be454b916e4bf770c5371c4 /crypto/ctr.c
parent409f0a9014fe24d906ba21aaccff80eb7f7304da (diff)
downloadlinux-d6301d3dd1c287b32132dda15272a50c11e92a14.tar.xz
net: Increase default NET_SKB_PAD to 32.
Several devices need to insert some "pre headers" in front of the main packet data when they transmit a packet. Currently we allocate only 16 bytes of pad room and this ends up not being enough for some types of hardware (NIU, usb-net, s390 qeth, etc.) So increase this to 32. Note that drivers still need to check in their transmit routine whether enough headroom exists, and if not use skb_realloc_headroom(). Tunneling, IPSEC, and other encapsulation methods can cause the padding area to be used up. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/ctr.c')
0 files changed, 0 insertions, 0 deletions