Re: [PATCH v2 net-next 10/10] net: bridge: implement auto-normalization of MTU for hardware datapath

From
Vladimir Oltean <olteanv@gmail.com>
Date
2020-03-26 12:18:34
Reply to
Nikolay Aleksandrov, 2020-03-26
On Thu, 26 Mar 2020 at 14:06, Nikolay Aleksandrov
[off-list ref] wrote:
On 26/03/2020 13:35, Ido Schimmel wrote:
quoted
On Thu, Mar 26, 2020 at 12:25:20PM +0200, Vladimir Oltean wrote:
quoted
Hi Ido,

On Thu, 26 Mar 2020 at 12:17, Ido Schimmel [off-list ref] wrote:
quoted
[snip]
quoted
I think you should be more explicit about it. Did you consider listening
to 'NETDEV_PRECHANGEMTU' notifications in relevant drivers and vetoing
unsupported configurations with an appropriate extack message? If you
can't veto (in order not to break user space), you can still emit an
extack message.
+1, this sounds more appropriate IMO
And what does vetoing gain me exactly? The practical inability to
change the MTU of any interface that is already bridged and applies
length check on RX?
Thread (37 messages) 37 messages, 6 authors, last reply 2020-03-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help