Re: [PATCH] net/hamradio/6pack: Fix the size of a sk_buff used in 'sp_bump()'

2019-09-07 Thread David Miller
From: Christophe JAILLET Date: Mon, 26 Aug 2019 21:02:09 +0200 > 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. > >

Re: [PATCH] net/hamradio/6pack: Fix the size of a sk_buff used in 'sp_bump()'

2019-08-27 Thread David Miller
From: Christophe JAILLET Date: Mon, 26 Aug 2019 21:02:09 +0200 > 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. > >