[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200309.180252.1828445690226985016.davem@davemloft.net>
Date: Mon, 09 Mar 2020 18:02:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: maheshb@...gle.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com, mahesh@...dewar.net
Subject: Re: [PATCH net] macvlan: add cond_resched() during multicast
processing
From: Mahesh Bandewar <maheshb@...gle.com>
Date: Mon, 9 Mar 2020 15:57:07 -0700
> The Rx bound multicast packets are deferred to a workqueue and
> macvlan can also suffer from the same attack that was discovered
> by Syzbot for IPvlan. This solution is not as effective as in
> IPvlan. IPvlan defers all (Tx and Rx) multicast packet processing
> to a workqueue while macvlan does this way only for the Rx. This
> fix should address the Rx codition to certain extent.
>
> Tx is still suseptible. Tx multicast processing happens when
> .ndo_start_xmit is called, hence we cannot add cond_resched().
> However, it's not that severe since the user which is generating
> / flooding will be affected the most.
>
> Fixes: 412ca1550cbe ("macvlan: Move broadcasts into a work queue")
> Signed-off-by: Mahesh Bandewar <maheshb@...gle.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists