Thread (2 messages) flat view 2 messages, 2 authors, 2011-06-14

Re: [Bugme-new] [Bug 37202] New: Cannot change MTU on bridged interface

From: Shan Wei <hidden>
Date: 2011-06-14 03:15:13
Also in: bridge

Andrew Morton wrote, at 06/14/2011 07:37 AM:
(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Sat, 11 Jun 2011 10:59:18 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:
quoted
https://bugzilla.kernel.org/show_bug.cgi?id=37202

           Summary: Cannot change MTU on bridged interface
           Product: Networking
           Version: 2.5
    Kernel Version: 3.0.0-rc2
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: acme@ghostprotocols.net
        ReportedBy: steve-alexander@roadrunner.com
        Regression: No


Without bridge, setting mtu on eth0 works as expected.
When eth0 is added to bridge 'br0' and this command is executed,

ip link set eth0 mtu 4000
This bug has been fixed.

commit 6407d74c5106bb362b4087693688afd34942b094
Author: Alexander Holler [off-list ref]
Date:   Tue Jun 7 00:51:35 2011 -0700

    bridge: provide a cow_metrics method for fake_ops
    
    Like in commit 0972ddb237 (provide cow_metrics() methods to blackhole
    dst_ops), we must provide a cow_metrics for bridges fake_dst_ops as
    well.
    
    This fixes a regression coming from commits 62fa8a846d7d (net: Implement
    read-only protection and COW'ing of metrics.) and 33eb9873a28 (bridge:
    initialize fake_rtable metrics)
    
    ip link set mybridge mtu 1234

-- 
Best Regards
-----
Shan Wei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help