mbox series

[0/2] Add check for nla_nest_start()

Message ID 20221126100634.106887-1-yuancan@huawei.com (mailing list archive)
Headers show
Series Add check for nla_nest_start() | expand

Message

Yuan Can Nov. 26, 2022, 10:06 a.m. UTC
This series contains two patches about checking the return value of
nla_nest_start().

Yuan Can (2):
  udp_tunnel: Add checks for nla_nest_start() in
    __udp_tunnel_nic_dump_write()
  wifi: nl80211: Add checks for nla_nest_start() in nl80211_send_iface()

 net/ipv4/udp_tunnel_nic.c | 2 ++
 net/wireless/nl80211.c    | 3 +++
 2 files changed, 5 insertions(+)

Comments

Jakub Kicinski Nov. 28, 2022, 10:18 p.m. UTC | #1
On Sat, 26 Nov 2022 10:06:32 +0000 Yuan Can wrote:
>   udp_tunnel: Add checks for nla_nest_start() in
>     __udp_tunnel_nic_dump_write()
>   wifi: nl80211: Add checks for nla_nest_start() in nl80211_send_iface()

Please post these separately (with David's feedback addressed)
they need to go to different trees so making them as series is
counter-productive.
Yuan Can Nov. 29, 2022, 1:30 a.m. UTC | #2
在 2022/11/29 6:18, Jakub Kicinski 写道:
> On Sat, 26 Nov 2022 10:06:32 +0000 Yuan Can wrote:
>>    udp_tunnel: Add checks for nla_nest_start() in
>>      __udp_tunnel_nic_dump_write()
>>    wifi: nl80211: Add checks for nla_nest_start() in nl80211_send_iface()
> Please post these separately (with David's feedback addressed)
> they need to go to different trees so making them as series is
> counter-productive.
Ok, thanks for the suggestion!