lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 10 Nov 2022 09:51:35 +0200
From:   Leonid Komaryanskiy <lkomaryanskiy@...il.com>
To:     netdev@...r.kernel.org
Cc:     dmytro_firsov@...m.com
Subject: ip_forward notification for driver

Hello.

I'm working on L3 routing offload for switch device and have a
question about ip_forwarding. I want to disable/enable forwarding on
the hardware side according to changing value in
/proc/sys/net/ipv4/ip_forward. As I see, inet_netconf_notify_devconf
just sends rtnl_notify for userspace. Could I ask you for advice, on
how can I handle updating value via some notifier or some other Linux
mechanism in driver?

Thank you in advance.

Kind Regards, Leonid.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ