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-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 5 Dec 2023 12:50:55 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Pedro Tammela <pctammela@...atatu.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
	kuba@...nel.org, pabeni@...hat.com, jhs@...atatu.com,
	xiyou.wangcong@...il.com, marcelo.leitner@...il.com,
	vladbu@...dia.com
Subject: Re: [PATCH net-next v2 3/5] rtnl: add helper to send if skb is not
 null

Mon, Dec 04, 2023 at 09:39:05PM CET, pctammela@...atatu.com wrote:
>This is a convenience helper for routines handling conditional rtnl
>events, that is code that might send a notification depending on
>rtnl_has_listeners/rtnl_notify_needed.
>
>Instead of:
>   if (skb)
>      rtnetlink_send(...)
>
>Use:
>      rtnetlink_maybe_send(...)
>
>Signed-off-by: Pedro Tammela <pctammela@...atatu.com>

Reviewed-by: Jiri Pirko <jiri@...dia.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ