summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/dld/dld_str.c
AgeCommit message (Collapse)AuthorFilesLines
2019-03-2810573 define TASKQID_INVALID as (taskq_id)0Toomas Soome1-2/+2
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-2510435 dld: NULL pointer errorsToomas Soome1-3/+3
Reviewed by: Aurélien Larcher <aurelien.larcher@gmail.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-02-2110423 bridge: cast between incompatible function typesToomas Soome1-2/+4
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
2018-11-269903 qinfo: add typed membersToomas Soome1-1/+2
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@joyent.com>
2014-08-125045 use atomic_{inc,dec}_* instead of atomic_add_*Josef 'Jeff' Sipek1-3/+3
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Robert Mustacchi <rm@joyent.com>
2010-08-16PSARC/2010/325 Different MTU for unicast and multicastErik Nordmark1-6/+13
6836162 Interface to report different multicast and unicast MTUs from network stack
2010-07-136967941 BAD TRAP: type=8 (#df Double fault) during reboot on x86 32bit ↵Sowmini Varadhan1-3/+3
systems in snv_144
2010-07-01PSARC 2010/166 layer-3 net properties for exclusive-IP zonesSowmini Varadhan1-2/+35
6944327 need to support address and defrouter resources for exclusive-IP zones
2009-11-096890826 DLPI consumers using IP receive only broadcast messages1-0/+1
6888482 failure to initialize link props should not be ignored
2009-10-07PSARC/2009/436 Anti-spoofing Link ProtectionEric Cheng1-2/+2
PSARC/2009/488 flowadm(1m) remote_port flow attribute 6884729 Integrate Link Protection Phase I 6882391 Offer flowadm -a remote_port
2009-10-076888680 GLDv3 PPA nitsGarrett D'Amore1-4/+4
6888202 vnic not available in early boot 6888700 potential fencepost errors involving MAX_PPA and MAX_MINOR
2009-09-256883381 GLDv3 incorrectly assumes mac instance == ddi_get_instance()Garrett D'Amore1-1/+49
2009-09-22PSARC 2009/373 Clearview IP TunnelingSebastien Roy1-4/+13
PSARC 2009/410 Datalink Administration from Non-Global Zones 6858533 Clearview IP Tunneling 4861777 *snoop* cannot snoop on tunnel interfaces 5010680 M_IOCTL interface between ip and tun is horribly wrong 5029727 tun prints bogus debug messages when receiving multicast packets on 6to4 tunnels 6835873 dlpi_walk() silently fails in an exclusive zone 4152864 must not allow two tunnels to have the same tsrc/tdst pair 6855902 link and flow kstats are too promiscuous 6218826 need to be able to tunnel into a zone 4505468 network interface names can confuse, lie, and deceive 4524756 tun_wproc() takes up too much stack 6417373 tun_wproc_mdata assertion failures 4627970 scalability problems with IP in IP tunnels 4674797 ifparse_ifspec() will not correctly parse ipv6 tunnels 6509231 dladm should show links in exclusive stack zone 4793233 tun driver should include addr in DL_PHYS_ADDR_ACK for non-zero lengths 6795831 ZONE_*_DATALINK syscalls should take datalink_id_t as argument 6791472 mac module doesn't allow MAC addresses < 6 bytes 6618091 Race condition trips ASSERT() in tun.c's SIOCSLIFNAME path 6837580 bogus mi_active check in mac_set_mtu() 6868083 libinetutil: ofmt_open()'s template argument should be const 6870313 libdladm: needless dladm_init_linkprop() in i_dladm_aggr_up() 6872221 panic in dls_devnet_close() if "mtu" property is being set 4289774 Change to the interface-id does not change IPv6 link-local address 6873561 unable to create links with 31 character link names 6874666 changing a link property can accidentally destroy it 6874682 removing a link attribute corrupts the attribute list 6875167 IPCL_ISV6 conn flag is set but never used 6881764 itp reference leak in ipsec_construct_inverse_acquire() 6881951 dladm delete-vlan can no longer delete persistent-only VLANs --HG-- rename : usr/src/uts/common/inet/tun.h => usr/src/uts/common/inet/iptun.h rename : usr/src/uts/common/inet/ip/tun.c => usr/src/uts/common/inet/iptun/iptun.c rename : usr/src/uts/intel/tun/Makefile => usr/src/uts/intel/iptun/Makefile rename : usr/src/uts/sparc/tun/Makefile => usr/src/uts/sparc/iptun/Makefile
2009-09-10PSARC 2007/596 RBridges: Routing BridgesRishi Srivatsavai1-2/+55
PSARC 2008/055 Solaris Bridging PSARC 2009/344 Bridging Updates 6223953 Solaris should provide layer 2 bridging 6770623 bogus error messages generated by dladm should be cleaned up
2009-05-266842381 VLAN headers with non-zero PCP should be preserved only for VLAN ↵Nicolas Droux1-4/+9
data-links
2009-05-18PSARC/2009/252 MAC promiscuous dead interfaces removalGirish Moodalbail1-5/+1
6817517 remove obsolete entries from mac_notify_type_t
2009-03-17PSARC/2008/242 Data Fast-Path for SoftmacCathy Zhou1-28/+47
6649224 fast-path needed to improve legacy network interface performance after UV 6649898 the smac_lock and smac_mutex fields in softmac_t should be given a more descriptive name 6799767 DLD capability is not correctly updated if it is renegotiated
2009-02-256801906 Batoka panics with link-aggregationCathy Zhou1-17/+20
6802625 potentially access invalid memory in i_dld_ether_header_update_tag()
2009-02-20PSARC 2009/069 802.1Q tag mode link propertySebastien Roy1-8/+16
6797256 need link property to control 802.1Q priority tagging
2008-12-04PSARC/2006/357 Crossbow - Network Virtualization and Resource ManagementEric Cheng1-743/+428
6498311 Crossbow - Network Virtualization and Resource Management 6402493 DLPI provider loopback behavior should be improved 6453165 move mac capabs definitions outside mac.h 6338667 Need ability to use NAT for non-global zones 6692884 several threads hung due to deadlock scenario between aggr and mac 6768302 dls: soft_ring_bind/unbind race can panic in thread_affinity_set with cpu_id == -1 6635849 race between lacp_xmit_sm() and aggr_m_stop() ends in panic 6742712 potential message double free in the aggr driver 6754299 a potential race between aggr_m_tx() and aggr_port_delete() 6485324 mi_data_lock recursively held when enabling promiscuous mode on an aggregation 6442559 Forwarding perf bottleneck due to mac_rx() calls 6505462 assertion failure after removing a port from a snooped aggregation 6716664 need to add src/dst IP address to soft ring fanout --HG-- rename : usr/src/uts/common/io/dls/dls_soft_ring.c => usr/src/uts/common/io/mac/mac_soft_ring.c rename : usr/src/uts/common/inet/ip/ip_cksum.c => usr/src/uts/common/os/ip_cksum.c rename : usr/src/uts/common/inet/sctp_crc32.c => usr/src/uts/common/os/sctp_crc32.c rename : usr/src/uts/common/sys/dls_soft_ring.h => usr/src/uts/common/sys/mac_soft_ring.h
2008-08-26PSARC 2008/473 Fine-Grained Privileges for Datalink AdministrationSebastien Roy1-3/+2
6695904 least privileges for datalink actions 6729477 pcwl accidentally requires privileges for WLAN_GET_PARAM ioctl 6679049 ucred_t leak in dlmgmtd 6738245 dld's _init() doesn't teardown if mod_install() fails 6738987 i.devpolicy pattern matching accidentally matches random lines
2008-01-24PSARC 2007/429 Brussels - enhanced network driver configuration via dladmsowmini1-3/+38
6565373 driver ndd parameter behavior does not match the ieee802.3(5) man page. 6598690 need support for 'dladm show-ether' subcommand. 6619126 ndd abuse in network (Layer 2) drivers 6621285 bge_setup_params_kstat is dead code
2008-01-23PSARC/2006/499 Clearview Nemo unification and vanity namingyz1470641-231/+519
PSARC/2007/527 Addendum for Clearview Vanity Naming and Nemo Unification PSARC/2008/002 Clearview UV Updates 6310766 vlan statistics get reset at unplumb time 6320515 dladm commands with "-R" option should not take effect immediately 6433732 Simplify the GLDv3 control path by making its processing asynchronous 6445912 dladm show-link fails to show a specific link in the debug version 6452413 dladm show-link doesn't show VLAN links for GLDv2 drivers 6504433 libwladm's use of wladm_wlresult2status() needs an overhaul 6504507 dladm set-linkprop failure message is unclear 6534289 DR should work with aggregations 6535719 dladm_aggr_port_attr_db_t`lp_devname should be MAXNAMELEN, not MAXNAMELEN + 1 6539634 GLDv3 should DL_ERROR_ACK a DL_UDQOS_REQ with DL_OUTSTATE when the stream is DL_UNATTACHED 6540246 libdladm should not guess zoneid from DLDIOCZIDGET ioctl errno 6544195 dladm show-dev assumes GLDv3 stats.. incompatible with GLDv2 6563295 dladm show-linkprop -P does not work properly for unavailable links 6577618 integrate network vanity naming and nemo unification 6600446 links assigned to a local zone are still aggregatable by global zone 6607572 "boot net - install" can trigger assertion failure in dld_str_attach() 6613956 "svccfg import -" does not work as bfu expects 6637596 invalid assertion in ip_soft_ring_assignment() 6642350 kernel DLPI processing routines are long overdue 6643338 GLDv3 PPA hack VLAN ID checks don't always work 6647203 bfu: smf_delete_manifest() does not work for non-global zones 6649885 DL_IB GLDv3 mactype plugin must fill in its mtr_nativetype 6650395 libuuid should be lint-clean and linted nightly --HG-- rename : usr/src/cmd/dladm/aggregation.conf => deleted_files/usr/src/cmd/dladm/aggregation.conf rename : usr/src/cmd/dladm/linkprop.conf => deleted_files/usr/src/cmd/dladm/linkprop.conf rename : usr/src/lib/libinetcfg/common/inetcfg_nic.c => deleted_files/usr/src/lib/libinetcfg/common/inetcfg_nic.c rename : usr/src/lib/libinetcfg/common/inetcfg_nic.h => deleted_files/usr/src/lib/libinetcfg/common/inetcfg_nic.h
2007-12-306607099 dld driver can cause system deadlockgeorges1-1/+10
2007-09-216602811 GLDv3 MAC has references to an ill after the ill is long goneyz1470641-3/+4
2007-09-18PSARC 2006/260 Solaris on Xenjohnlev1-5/+5
PSARC 2007/155 IPv4 Network Configuration Enhancements for Xen Guest Domains 6424124 panic in intr_thread->av_dispatch_autovect->atomic_add_ptr 6496858 mdb could use a memory-based IO backend 6515319 workaround for 6491065 needs to be removed from elfextract.c 6518807 snv_nightly: SUNWcakr pkgck error 6551858 PSARC 2006/260 Solaris on Xen 6584697 Can't boot Xen / Solaris dom0 if root is using ZFS 6593429 usr/src/cmd/devfsadm isn't linting properly 6600359 mdb_kvm_intrframe() is unused 6600750 can remove 'u' workaround from zlib 6601465 /dev/lofictl needs to accept kernel ioctl 6604043 Erronous ASSERT in sdev_vnops.c ASSERT(VTOSDEV(vp)->sdev_attrvp); --HG-- rename : usr/src/common/util/memset.h => deleted_files/usr/src/common/util/memset.h rename : usr/src/uts/common/krtld/mapfile => deleted_files/usr/src/uts/common/krtld/mapfile rename : usr/src/uts/i86pc/boot/boot_keyboard.h => deleted_files/usr/src/uts/i86pc/boot/boot_keyboard.h rename : usr/src/uts/intel/io/i8254.c => usr/src/uts/i86pc/io/microfind.c rename : usr/src/uts/i86pc/cpunex/Makefile => usr/src/uts/intel/cpunex/Makefile rename : usr/src/uts/i86pc/io/cpunex.c => usr/src/uts/intel/io/cpunex.c
2007-04-166532455 ip-type exclusive IP instances with bge interfaces can't autobootdh1551221-1/+1
6540253 libdladm should not rely on stat() to force a device to be attached 6543436 System panic due to assertion failed: qprocsareon(rq), file: ../../common/os/strsubr.c, line: 1210
2007-01-19PSARC 2006/366 IP Instancesdh1551221-61/+18
6289221 RFE: Need virtualized ip-stack for each local zone 6512601 panic in ipsec_in_tag - allocation failure 6514637 error message from dhcpagent: add_pkt_opt: option type 60 is missing required value 6364643 RFE: allow persistent setting of interface flags per zone 6307539 RFE: Invalid network address causes zone boot failure 5041214 Allow IPMP configuration with zones 5005887 RFE: zoneadmd should support plumbing an interface via DHCP 4991139 RFE: zones should provide a mechanism to configure a defaultrouter for a zone 6218378 zoneadmd doesn't set the netmask for non-loopback addresses hosted on lo0 4963280 zones: need to virtualize the IPv6 default address selection mechanism 4963285 zones: need support of stateless address autoconfiguration for IPv6 5048068 zones don't boot if one of its interfaces has failed 5057154 RFE: ability to change interface status from within a zone 4963287 zones should support the plumbing of the first (and only) logical interface 4978517 TCP privileged port space should be partitioned per zone 5023347 zones don't work well with network routes other than default 4963372 investigate whether global zone can act as a router for local zones 6378364 RFE: Allow each zone to have its own virtual IPFilter
2006-11-20PSARC/2006/406 WiFi for GLDv3xc1513551-20/+56
PSARC/2006/517 WiFi for GLDv3 Addendum PSARC/2006/623 WiFi for GLDv3 Addendum #2 6253476 dladm exec_attr entry doesn't allow show-link to work 6362391 ath driver needs to be updated to use the latest HAL 6364198 system crashes if multiple ath driver instances are modunload'ed 6367259 ath driver needs to support GLDv3 6407181 ath driver panics in ath_rate_update function 6421983 ath driver needs shared_key authmode support 6472427 ath driver causes watchdog timeout error 6484943 integrate WiFi/GLDv3 --HG-- rename : usr/src/uts/common/io/ath/ath_ieee80211.c => deleted_files/usr/src/uts/common/io/ath/ath_ieee80211.c rename : usr/src/uts/common/io/ath/ath_ieee80211.h => deleted_files/usr/src/uts/common/io/ath/ath_ieee80211.h rename : usr/src/uts/common/io/ath/ath_wificonfig.c => deleted_files/usr/src/uts/common/io/ath/ath_wificonfig.c
2006-11-13PSARC/2006/190 Large Send Offload (LSO)yl1500511-1/+12
6390838 XGE need to support adaptive TX by switching COPY/DMA according to MBLKL(mp) 6394197 Solaris need to support LSO (Large Send Offload) 6466394 Minor logic error in tcp_send_data() 6467558 Need to integrate HAL 2.0.6765 to improve rx performance
2006-10-026405012 dld_wsrv() can hog a cpu when driver runs out of tx resourcesericheng1-1/+2
2006-09-19PSARC/2006/358 VLAN Observability Enhancementdg1990751-49/+283
4095699 snoop: add support for 802.1Q VLAN tagging 6292043 DL_PROMISC_SAP should see *all* traffic, not just untagged traffic on GLDv2 links 6306794 GLDv2 drivers incorrectly strip the VLAN tag in raw mode 6309233 GLDv3 drivers incorrectly process VLAN packets in raw mode 6375633 GLDv2 processes DL_PROMISC{ON,OFF}_REQ incorrectly 6425678 DL_PROMISC_SAP should make all VLAN traffic visible on physical GLDv3 links 6434082 Enhance snoop's VLAN filtering capability 6434130 i_dls_ether_header() doesn't generate VLAN header when priority is non-zero 6436003 QoS should be supported on non VLAN streams as well 6438679 GLDv3 doesn't respect QoS priorities in some cases 6442753 GLDv2/GLDv3 has several VLAN packet processing issues 6453746 Change definition of enprintf in pfmod.c 6457476 GLDv2 kstats are not MT-protected, could cause missing increment in some cases 6464397 mac_header_{cook,uncook}() failure can cause a message to be freed twice
2006-06-30PSARC/2006/248 Nemo MAC-Type Plugin Architectureseb1-63/+121
PSARC/2006/249 Nemo Changes for Binary Compatibility 6226635 MAC stats interface could cause problems with binary compatibility 6242059 nemo drivers must not know the size of the mac_t structure 6384371 GLDv3 only supports Ethernet 6401695 xge uses a receive ring even though it doesn't do blanking 6432471 panic in dls_close() if DL_BIND_REQ previously failed
2006-04-206371252 adding a mac_start()'d link to an aggregation can end in panicyz1470641-9/+12
6394265 Calculation of the enqueued message size is incorrect When GLDv3 does the flow control 6394752 Assertion failed in dld_wsrv when running network driver test suites load/unload 6400491 ifconfig unplumb deadlock when trying to unplumb an erroring aggregation 6408183 RAW mode can not be enabled before DL_BIND_REQ for GLDv3 drivers
2006-04-136312408 DDI_NT_MAC macro definition should be removedericheng1-19/+109
6313296 SUNWcsr postinstall script had issues with smf in upgrade and live upgrade to snv_21 6316876 aggr panic off aggr_detach 6358277 aggr plumb/unplumb caused panic with heavy network load 6364350 incorrect and insufficient permission checks for /dev/aggr nodes 6390192 Running snoop on a Nemo NIC causes all of memory to be exhausted 6401218 PPA problem: e_ddi_get_dev_info() failed with S10 kernel patch 118822-23 but OK with patch 118822-20
2006-03-306242262 ON should be buildable with gccwesolows1-1/+1
6268345 fmd is insufficiently careful with alignment 6271070 gcc and cmd/fm don't get along 6272173 cpumem diag module writes to constant memory, crashing fmd 6273907 gcc and cmd/syseventd don't get along 6308057 gcc and sgs/dis don't get along on SPARC 6359863 the C preprocessor is still feeling abused by token pasting 6359868 gcc and cmd/stmsboot still don't get along 6359878 gcc and lib/smartcard don't get along on sparc 6361816 gcc and perl don't get along 6370832 kernel should agree on C99 mode for studio and gcc 6372728 gcc and sata don't get along 6390345 cw inserts garbage when used as a preprocessor 6397680 gcc and smbios are not getting along 6399113 meta_namespace.c uses worrisome construct and is not gcc friendly 6403999 cw is ugly and hairy and needs a man
2006-03-016288645 two minor issues in timod when handling T_INFO_ACKyz1470641-4/+3
6369989 eri/hme incorrectly NAK DL_NOTIFY_REQ's as DL_NOTIFY_ACK's 6370414 eri incorrectly acknowledges the DL_PROMISCOFF primitive 6374238 GLD devo_getinfo() returns incorrect instance number on SPARC 6384014 gld_open() leaks memory when gld_start_mac() fails 6387752 panic when GLDv3 drivers process incorrectly sized DL_BIND_REQ
2006-01-306361577 host hangs during iscsi fault testericheng1-9/+20
2005-12-23PSARC 2005/654 Nemo soft ringskrgopi1-2/+5
6306717 For Nemo based drivers, IP can ask dls to do the fanout
2005-08-296252036 dladm show-link outputs nothing for regular usersericheng1-2/+4
6260551 aggr_grp_detach_port() can be called without AGGR_LACP_LOCK_HELD 6270678 The aggregation was unavailable after using dladm modify-aggr change mac address to zero 6283674 potential race condition between dls_rx_set and i_dls_link_ether_rx 6293292 dladm show-dev deceives when passed unknown device names 6309909 dld_open must call qassociate(9F) to inform the framework it is DDI-compliant 6311907 poll_tx, ill_tx and str_mdata_fastpath_put() comments are incorrect 6313057 dladm show-dev doesn't show legacy devices 6315019 sparc full kernel lint is missing many modules
2005-08-01PSARC 2005/365 Nemo drivers interface simplificationericheng1-402/+809
6246540 race condition between aggr driver detach and create-aggr 6253542 dld breaks autopush, PPPoE, ipfilter for bge and xge 6261226 Nemo should use modhash 6272908 in.rarpd no longer works for GLDv3 interfaces 6303082 ill_tx fastpath lacks flow control --HG-- rename : usr/src/cmd/dladm/datalink.conf => deleted_files/usr/src/cmd/dladm/datalink.conf rename : usr/src/cmd/rcm_daemon/common/mac_rcm.c => deleted_files/usr/src/cmd/rcm_daemon/common/mac_rcm.c rename : usr/src/cmd/svc/milestone/aggregation => deleted_files/usr/src/cmd/svc/milestone/aggregation rename : usr/src/cmd/svc/milestone/aggregation.xml => deleted_files/usr/src/cmd/svc/milestone/aggregation.xml rename : usr/src/cmd/svc/milestone/datalink => deleted_files/usr/src/cmd/svc/milestone/datalink rename : usr/src/cmd/svc/milestone/datalink-init => deleted_files/usr/src/cmd/svc/milestone/datalink-init rename : usr/src/cmd/svc/milestone/datalink-init.xml => deleted_files/usr/src/cmd/svc/milestone/datalink-init.xml rename : usr/src/cmd/svc/milestone/datalink.xml => deleted_files/usr/src/cmd/svc/milestone/datalink.xml rename : usr/src/pkgdefs/SUNWcnetr/postinstall => deleted_files/usr/src/pkgdefs/SUNWcnetr/postinstall rename : usr/src/pkgdefs/common_files/i.datalinkconf => deleted_files/usr/src/pkgdefs/common_files/i.datalinkconf rename : usr/src/uts/common/io/dld/dld_ioc.c => deleted_files/usr/src/uts/common/io/dld/dld_ioc.c rename : usr/src/uts/common/io/dld/dld_minor.c => deleted_files/usr/src/uts/common/io/dld/dld_minor.c rename : usr/src/uts/common/io/dld/dld_node.c => deleted_files/usr/src/uts/common/io/dld/dld_node.c rename : usr/src/uts/common/io/dld/dld_ppa.c => deleted_files/usr/src/uts/common/io/dld/dld_ppa.c rename : usr/src/uts/common/os/ght.c => deleted_files/usr/src/uts/common/os/ght.c rename : usr/src/uts/common/sys/ght.h => deleted_files/usr/src/uts/common/sys/ght.h rename : usr/src/uts/intel/ght/Makefile => deleted_files/usr/src/uts/intel/ght/Makefile rename : usr/src/uts/sparc/ght/Makefile => deleted_files/usr/src/uts/sparc/ght/Makefile
2005-06-176272300 device in an aggr can be plumbed successfully and cause system panicyz1470641-2/+5
6279972 Issuing DLIOCRAW ioctl before DL_ATTACH_REQ cause system panic
2005-06-14OpenSolaris Launchstevel@tonic-gate1-0/+1268