Re: [PATCH net-next v3] net: Implement fault injection forcing skb reallocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Bagas,

On Mon, Oct 21, 2024 at 07:35:29PM +0700, Bagas Sanjaya wrote:
> On Mon, Oct 14, 2024 at 06:50:00AM -0700, Breno Leitao wrote:
> > +  To select the interface to act on, write the network name to the following file:
> > +  `/sys/kernel/debug/fail_net_force_skb_realloc/devname`
> "... write the network name to /sys/kernel/debug/fail_net_force_skb_realloc/devname."
> > +  If this field is left empty (which is the default value), skb reallocation
> > +  will be forced on all network interfaces.
> > +
> > <snipped>...
> > +- /sys/kernel/debug/fail_net_force_skb_realloc/devname:
> > +
> > +        Specifies the network interface on which to force SKB reallocation.  If
> > +        left empty, SKB reallocation will be applied to all network interfaces.
> > +
> > +        Example usage:
> > +        # Force skb reallocation on eth0
> > +        echo "eth0" > /sys/kernel/debug/fail_net_force_skb_realloc/devname
> > +
> > +        # Clear the selection and force skb reallocation on all interfaces
> > +        echo "" > /sys/kernel/debug/fail_net_force_skb_realloc/devname
> 
> The examples rendered as normal paragraph instead (and look like long-running
> sentences) so I wrap them in literal code blocks:

Thanks. I will update it, and send a new version.




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux