summaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_ds_subr.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-07-11 22:50:09 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-07-12 22:58:55 +0200
commitda952315c9c625bd513c6162613fd3fd01d91aae (patch)
treea57f60a953d0596beb3d230663db34a9b7a02b1a /net/ax25/ax25_ds_subr.c
parent[IPV6]: Use ipv6_addr_src_scope for link address sorting. (diff)
downloadlinux-da952315c9c625bd513c6162613fd3fd01d91aae.tar.xz
linux-da952315c9c625bd513c6162613fd3fd01d91aae.zip
[IPCOMP]: Fix truesize after decompression
The truesize check has uncovered the fact that we forgot to update truesize after pskb_expand_head. Unfortunately pskb_expand_head can't update it for us because it's used in all sorts of different contexts, some of which would not allow truesize to be updated by itself. So the solution for now is to simply update it in IPComp. This patch also changes skb_put to __skb_put since we've just expanded tailroom by exactly that amount so we know it's there (but gcc does not). Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25/ax25_ds_subr.c')
0 files changed, 0 insertions, 0 deletions