diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-08-26 21:02:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-07 15:46:28 +0200 |
commit | b82573fdbef809803d06295f318f7ad1a2c5ceb9 (patch) | |
tree | 9333d1b98f4f54ab424f6807cc41506669e989c0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0c04eb72d332ef6e12c3ecb0c638359e65ad29d9 (diff) |
net/hamradio/6pack: Fix the size of a sk_buff used in 'sp_bump()'
We 'allocate' 'count' bytes here. In fact, 'dev_alloc_skb' already add some
extra space for padding, so a bit more is allocated.
However, we use 1 byte for the KISS command, then copy 'count' bytes, so
count+1 bytes.
Explicitly allocate and use 1 more byte to be safe.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions