Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-30 | treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 | Thomas Gleixner | 1 | -5/+1 | |
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 3029 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Allison Randal <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> | |||||
2018-05-17 | pfifo_fast: drop unneeded additional lock on dequeue | Paolo Abeni | 1 | -0/+5 | |
After the previous patch, for NOLOCK qdiscs, q->seqlock is always held when the dequeue() is invoked, we can drop any additional locking to protect such operation. Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: David S. Miller <[email protected]> | |||||
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]> |