Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-29 | skb_array: use __ptr_ring_empty | Michael S. Tsirkin | 1 | -1/+1 | |
__skb_array_empty should use __ptr_ring_empty since that's the only legal lockless function. Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]> | |||||
2017-12-08 | net: skb_array: expose peek API | John Fastabend | 1 | -0/+5 | |
This adds a peek routine to skb_array.h for use with qdisc. Signed-off-by: John Fastabend <[email protected]> Signed-off-by: David S. Miller <[email protected]> | |||||
2017-08-16 | ptr_ring: use kmalloc_array() | Eric Dumazet | 1 | -1/+2 | |
As found by syzkaller, malicious users can set whatever tx_queue_len on a tun device and eventually crash the kernel. Lets remove the ALIGN(XXX, SMP_CACHE_BYTES) thing since a small ring buffer is not fast anyway. Fixes: 2e0ab8ca83c1 ("ptr_ring: array based FIFO for pointers") Signed-off-by: Eric Dumazet <[email protected]> Reported-by: Dmitry Vyukov <[email protected]> Cc: Michael S. Tsirkin <[email protected]> Cc: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]> | |||||
2017-05-18 | skb_array: introduce batch dequeuing | Jason Wang | 1 | -0/+25 | |
Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]> | |||||
2017-05-18 | skb_array: introduce skb_array_unconsume | Jason Wang | 1 | -0/+6 | |
Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]> | |||||
2016-07-01 | skb_array: add wrappers for resizing | Jason Wang | 1 | -0/+9 | |
Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]> | |||||
2016-07-01 | skb_array: minor tweak | Jason Wang | 1 | -2/+2 | |
Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]> | |||||
2016-06-15 | skb_array: resize support | Michael S. Tsirkin | 1 | -4/+29 | |
Update skb_array after ptr_ring API changes. Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Tested-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: David S. Miller <[email protected]> | |||||
2016-06-15 | skb_array: array based FIFO for skbs | Michael S. Tsirkin | 1 | -0/+144 | |
A simple array based FIFO of pointers. Intended for net stack so uses skbs for type safety. Implemented as a set of wrappers around ptr_ring. Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Tested-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: David S. Miller <[email protected]> |