freebsd-dev/sys/net
Hiroki Sato c2a5f1a57a - Check if_type of "addm <interface>" before setting the
interface's MTU to the if_bridge(4) interface.  This fixes a
  bug that MTU value of "addm <interface>" is used even when it
  is invalid for the if_bridge(4) member:

  # ifconfig bridge0 create
  # ifconfig bridge0
  bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
  ...
  # ifconfig bridge0 addm lo0
  ifconfig: BRDGADD lo0: Invalid argument
  # ifconfig bridge0
  bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 16384
  ...

- Do not ignore MTU value of an interface even when if_type == IFT_GIF.
  This fixes MTU mismatch when an if_bridge(4) interface has a
  gif(4) interface and no other interface as the member, and it
  is directly used for L2 communication with EtherIP tunneling
  enabled.

- Implement SIOCSIFMTU ioctl.  Changing the MTU is allowed only
  when all members have the same MTU value.
2010-01-31 08:16:37 +00:00
..
bpf_buffer.c
bpf_buffer.h
bpf_filter.c
bpf_jitter.c
bpf_jitter.h
bpf_zerocopy.c
bpf_zerocopy.h
bpf.c
bpf.h
bpfdesc.h
bridgestp.c
bridgestp.h
ethernet.h
fddi.h
firewire.h
flowtable.c Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
flowtable.h
ieee8023ad_lacp.c
ieee8023ad_lacp.h
if_arc.h
if_arcsubr.c
if_arp.h
if_atm.h
if_atmsubr.c
if_bridge.c - Check if_type of "addm <interface>" before setting the 2010-01-31 08:16:37 +00:00
if_bridgevar.h
if_clone.c
if_clone.h
if_dead.c
if_disc.c
if_dl.h
if_edsc.c
if_ef.c
if_enc.c
if_enc.h
if_epair.c Correct a typo. 2010-01-10 12:03:53 +00:00
if_ethersubr.c put ip_var before ip_fw_private.h as this will be needed in 2010-01-07 10:27:52 +00:00
if_faith.c
if_fddisubr.c
if_fwsubr.c
if_gif.c
if_gif.h
if_gre.c
if_gre.h
if_iso88025subr.c
if_lagg.c Declare a new EVENTHANDLER called iflladdr_event which signals that the L2 2010-01-18 20:34:00 +00:00
if_lagg.h
if_llatbl.c
if_llatbl.h
if_llc.h
if_loop.c
if_media.c
if_media.h
if_mib.c
if_mib.h
if_sppp.h
if_spppfr.c
if_spppsubr.c
if_stf.c
if_stf.h
if_tap.c
if_tap.h
if_tapvar.h
if_tun.c
if_tun.h
if_types.h
if_var.h Revised revision 199201 (add interface description capability as inspired 2010-01-27 00:30:07 +00:00
if_vlan_var.h
if_vlan.c Do not hold the lock over if_setlladdr() as it calls into the interface driver 2010-01-19 04:29:42 +00:00
if.c Revised revision 199201 (add interface description capability as inspired 2010-01-27 00:30:07 +00:00
if.h Revised revision 199201 (add interface description capability as inspired 2010-01-27 00:30:07 +00:00
iso88025.h
netisr.c
netisr.h
pfil.c
pfil.h
pfkeyv2.h
ppp_defs.h
radix_mpath.c
radix_mpath.h
radix.c
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c
route.c
route.h
rtsock.c
slcompress.c
slcompress.h
vnet.c
vnet.h
zlib.c
zlib.h