Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src/sys

Module Name:    src
Committed By:   snj
Date:           Sun Sep 24 20:05:03 UTC 2017

Modified Files:
        src/sys/arch/xen/xen [netbsd-7]: if_xennet_xenbus.c xennetback_xenbus.c
        src/sys/net [netbsd-7]: if_bridge.c if_ether.h if_ethersubr.c if_vlan.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1409):
        sys/arch/xen/xen/if_xennet_xenbus.c: 1.65
        sys/arch/xen/xen/xennetback_xenbus.c: 1.53, 1.56 via patch
        sys/net/if_bridge.c: 1.105
        sys/net/if_ether.h: 1.65
        sys/net/if_ethersubr.c: 1.215, 1.235
        sys/net/if_vlan.c: 1.76, 1.77, 1.83, 1.88, 1.94
Protect vlan_unconfig with a mutex
It is not thread-safe but is likely to be executed in concurrent.
See PR 49264 for more detail.
Tweak vlan_unconfig
No functional change.
Add handling of VLAN packets in if_bridge where the parent interface supports
them ( Factor out the vlan_mtu enabling and
disabling code.
Enable the VLAN mtu capability and check for the adjusted packet size
(Jean-Jacques.Puig at
Factor out the packet-size checking function for clarity.
Don't increment the reference count only when it was 0...
>From Jean-Jacques.Puig
Account for the CRC len (Jean-Jacques.Puig)
Fix a bug that the parent interface's callback wasn't called when the vlan
interface is configured. A callback function uses VLAN_ATTACHED() function
which check ec->ec_nvlans, the value should be incremented before calling the
callback. This bug was added in if_vlan.c rev. 1.83 (2015/11/19).

To generate a diff of this commit:
cvs rdiff -u -r1.63.2.2 -r1.63.2.3 src/sys/arch/xen/xen/if_xennet_xenbus.c
cvs rdiff -u -r1.52.4.1 -r1.52.4.2 src/sys/arch/xen/xen/xennetback_xenbus.c
cvs rdiff -u -r1.90 -r1.90.2.1 src/sys/net/if_bridge.c
cvs rdiff -u -r1.64 -r1.64.2.1 src/sys/net/if_ether.h
cvs rdiff -u -r1.204.2.1 -r1.204.2.2 src/sys/net/if_ethersubr.c
cvs rdiff -u -r1.70.2.4 -r1.70.2.5 src/sys/net/if_vlan.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index