summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
2017-02-16Revert "Release the NET_LOCK() before entering per-driver ioctl() routine".Martin Pieuchot
2017-02-07Release the NET_LOCK() before entering per-driver ioctl() routine.Martin Pieuchot
2017-02-01Take if_attach_common() out from under netlock as it does a bunchJonathan Gray
2017-02-01Switch from splsoftnet to taking the netlock in if_attachhead().Jonathan Gray
2017-01-31Remove the inifioctl hack, checking for an unheld NET_LOCK() inMartin Pieuchot
2017-01-25Introduce a hack to remove false-positives when looking for memoryMartin Pieuchot
2017-01-25Enable the NET_LOCK(), take 2.Martin Pieuchot
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2017-01-24add support for multiple transmit ifqueues per network interface.David Gwynne
2017-01-23Flag pseudo-interfaces as such in order to call add_net_randomness()Martin Pieuchot
2017-01-23i botched the copyout to ifr->ifr_data in SIOCGIFDATA.David Gwynne
2017-01-23merge the ifnet and ifqueue stats together when userland wants them.David Gwynne
2017-01-22move counting if_opackets next to counting if_obytes in if_enqueue.David Gwynne
2017-01-12Unlink PF state keys before passing mbufs to drivers.Martin Pieuchot
2017-01-04dont assume setting IFF_UP will succeed.David Gwynne
2017-01-04shuffle the last change slightly.David Gwynne
2017-01-04make if_input return early if the mbuf list is empty.David Gwynne
2017-01-03Do not trash the original SPL level.Martin Pieuchot
2016-12-29Change NET_LOCK()/NET_UNLOCK() to be simple wrappers aroundMartin Pieuchot
2016-12-21Generate an IFINFO message when changing the MTU of an interface.Jeremie Courreges-Anglas
2016-12-20Grab the netlock during interface attach and detach.Mike Belopuhov
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-12-12Remove most of the splsoftnet() recursions related to cloned interfaces.Martin Pieuchot
2016-12-02Clean up leftovers from r1.442.Vincent Gross
2016-11-28Remove simple recursive splsoftnet() calls inside ifioctl().Martin Pieuchot
2016-11-21Enforce that pr_usrreq functions are called at IPL_SOFTNET.Martin Pieuchot
2016-11-14Automatically set ::1 on all default lo(4) interfaces.Martin Pieuchot
2016-11-14It should be possible to create the default loopback interface.Martin Pieuchot
2016-11-14Automatically create a default lo(4) interface per rdomain.Martin Pieuchot
2016-11-08No longer need radix.hMartin Pieuchot
2016-11-08RIP ifa_ifwithnet()Martin Pieuchot
2016-10-19Remove the if_input task from the correct taskq.YASUOKA Masahiko
2016-10-16m_resethdr() clears information attached to a mbuf that has beenAlexander Bluhm
2016-10-09This needs radix.h because it uses rn_refines().Claudio Jeker
2016-10-07Use detach hook to notify switch(4) about interface removals instead ofRafael Zalamena
2016-10-03Use detach hook to notify bridge of interface removal instead of addingRafael Zalamena
2016-09-28Fix a kernel panic that happened when destroying interfaces attached toRafael Zalamena
2016-09-22Raise spl level to IPL_SOFTNET before calling rt_ifmsg().Martin Pieuchot
2016-09-20Create and destroy cloneable interfaces under splsoftnetMike Belopuhov
2016-09-13Split if_linkstate_task() in two to avoid SPL recursion when theMartin Pieuchot
2016-09-08Replace two if/do/while dances by while loops.Martin Pieuchot
2016-09-07Rename rtable_mpath_next() into rtable_iterate() and make it do a properMartin Pieuchot
2016-09-05Rename if_linkstate() to if_linkstate_task() and make sure that all callersClaudio Jeker
2016-09-04Prevent a race between a thread detaching an interface and the watchdogMartin Pieuchot
2016-09-04When auto-creating an interface when opening a /dev/{tun,tap,switch}Reyk Floeter
2016-09-04Move code to change the rdomain of an interface from the ioctl switch caseReyk Floeter
2016-09-04Purge routes attached to an address when this address is removed.Martin Pieuchot
2016-09-03Remove routes added by the kernel before userland ones.Martin Pieuchot
2016-09-03Use per-ifp tasks to process incoming packets.Martin Pieuchot
2016-09-01Import switch(4), an in-kernel OpenFlow switch which can work alone.Kazuya Goda