Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Alexey Dobriyan
Wed, 04 Nov 2026 18:25
Re: [PATCH RFC 17/38] net: pktgen: reject device names with a '/'
Author: Alexey Dobriyan
Date: Wed, 04 Nov 2026 18:25
Date: Wed, 04 Nov 2026 18:25
12 lines
10929 bytes
10929 bytes
> --- a/net/core/pktgen.c > +++ b/net/core/pktgen.c > @@ -3831,6 +3831,10 @@ static int pktgen_add_device(struct pktgen_thread *t, const char *ifname) > + /* The name becomes the name of a file in /proc/net/pktgen. */ > + if (strchr(ifname, '/')) > + return -EINVAL; I posted string_is_vfs_ready() to catch dots as well but it disappeared somewhere: https://lore.kernel.org/linux-fsdevel/vqeq3ioklrgrf227zgdfho4virh74qrt5reoyptmzgktyronbr@c2mw32pqikft/ ./../alexey
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads