summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2015-12-01Kill redundant or unused arguments in rtredirect().Martin Pieuchot
2015-12-01Split functions in if_bridge.c into if_bridge.c bridgectl.c .Kazuya Goda
2015-12-01Iterating on &ifnet should only be done with the KERNEL_LOCK held.Vincent Gross
2015-12-01Fix bridge to forward broadcast/multicast frames from gif.Kazuya Goda
2015-11-29Convert the simple list of multipath route entries used by ART kernelsMartin Pieuchot
2015-11-28Convert pppoe(4) to use if_get()/if_put(): instead of storing aReyk Floeter
2015-11-28Delete sc_root_port which became unused when RSTP is merged.YASUOKA Masahiko
2015-11-27Keep "struct vxlan_softc" private to prevent pulling more headers whenMartin Pieuchot
2015-11-27Keep lo(4) definitions inside if_loop.cMartin Pieuchot
2015-11-27Document that routing table heads are never freed as suggested by dlg@Martin Pieuchot
2015-11-27Protect the growth of the routing table arrays used by rtable_get()Martin Pieuchot
2015-11-25replace IFF_OACTIVE manipulation with mpsafe operations.David Gwynne
2015-11-24No need for <net/ethertypes.h> it is part of <netinet/if_ether.h>Martin Pieuchot
2015-11-24No need for <net/if_types.h>Martin Pieuchot
2015-11-24in art_insert, if at_default on the first table is set then return theDavid Gwynne
2015-11-24Provide art_free(), a method to release unused routing table heads.Martin Pieuchot
2015-11-23There's no longer a need to include <net/hfsc.h> in <net/if_var.h>Martin Pieuchot
2015-11-23if_start needs splnet. help/ok dlg@Stuart Henderson
2015-11-23Include <sys/atomic.h> when atomic operations are used.Martin Pieuchot
2015-11-21Add a comment after every #endifMartin Pieuchot
2015-11-21dont check IFF_OACTIVE to see if the port is busy.David Gwynne
2015-11-21simplify ifq_deq_rollback by only having it unlock.David Gwynne
2015-11-20Initialise the ifidx to 0 (no interface) in rtredirect() to avoid usingJonathan Gray
2015-11-20Keep if_ref() private, if_get() is what you want to use before if_put().Martin Pieuchot
2015-11-20Prefer if_get() over if_ref() when checking if the interface has beenMartin Pieuchot
2015-11-20sppp(4) is now only used for pppoe(4) which doesn't use framing, so removeStuart Henderson
2015-11-20avoid a use after enqueue, which is like a use after free.David Gwynne
2015-11-20i made a mistake. rename ifq_enq and ifq_deq to ifq_enqueue and ifq_dequeueDavid Gwynne
2015-11-20Make use if_get() and get rid of rt_ifp.Martin Pieuchot
2015-11-20fix prio KASSERT, it should be <= not <. ok dlg@Stuart Henderson
2015-11-20correctly indent a line to make the intent clearJonathan Gray
2015-11-20dont needlessly clear IFF_OACTIVE.David Gwynne
2015-11-20dont play with IFF_OACTIVE needlessly.David Gwynne
2015-11-20dont check for IFF_OACTIVEDavid Gwynne
2015-11-20dont check for OACTIVEDavid Gwynne
2015-11-20if we deq m0, we should probably send it to bpf, not m.David Gwynne
2015-11-20shuffle struct ifqueue so in flight mbufs are protected by a mutex.David Gwynne
2015-11-18Do not dereference rt_ifp to call if_rtrequest.Martin Pieuchot
2015-11-18Factorize the bits to check if a L2 route is connected, wether it isMartin Pieuchot
2015-11-18Revert previous workaround now that multipath route selection has beenMartin Pieuchot
2015-11-18Multipath selection should be done before caching the next hop.Martin Pieuchot
2015-11-17Unbreak next-hop caching on multipath setups.Martin Pieuchot
2015-11-15Add ifmedia definitions for 802.11n.Stefan Sperling
2015-11-14mutli -> multiMiod Vallat
2015-11-13Sore the index of the interface used for revarp instead of a pointer toMartin Pieuchot
2015-11-12Allocate root tables on demand an free them like any other table.Martin Pieuchot
2015-11-12Prefix flowid with ph_ and print it in m_print().Martin Pieuchot
2015-11-11Remove an XXX that no longer makes sense, rt_ifp is now always the sameMartin Pieuchot
2015-11-11Store the index of the lo0 interface instead of a pointer to itsMartin Pieuchot
2015-11-11replace the ifqueue used for the pp_cpq with an mbuf_queue.David Gwynne