On Wed, May 06, 2020 at 10:57:15AM +1000, Duncan Roe wrote: [...] > If zeroising is unnecessary then yes, we don't need 'extra'. pktb_mangle() can > return 0 if 'buf_size' is inadequate. (pktb_alloc2() checks 'buf_size >= > sizeof(struct pkt_buff)' and copies 'buf_size' into the enlarged 'pktb' > so it's available to pktb_mangle()). No need for new element - we already have data_len > > Cheeers ... Duncan.