summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/sockfs
AgeCommit message (Collapse)AuthorFilesLines
2015-02-23OS-3893 sendfile compat checks shouldn't be done in so_sendmblkRobert Mustacchi1-5/+0
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
2015-01-27OS-3752 Increase IOV_MAX to at least 1024Jerry Jelinek2-32/+28
2014-10-04OS-3404 lx brand must support sendmsg() with IOV_MAX of 1024Bryan Cantrill1-20/+97
2014-08-14 [illumos-gate merge]Keith M Wesolowski4-12/+10
commit c65ceeb86e91d6d94cf15d4cb9884845c2ce8a04 5081 mpt_sas watchdog timout needs to be initialized earlier 5080 potential memory leak in mpt_sas commit 640c1670a105457bb0040e8e11037b53ab6ebcfa 5047 don't use atomic_*_nv if you discard the return value commit 9c68c0524222ca5eac2fb0835154553c1cdaa96c 5046 comstar: use the correct type instead of casting all the time commit 1a5e258f5471356ca102c7176637cdce45bac147 5045 use atomic_{inc,dec}_* instead of atomic_add_* commit febac2a0e9cb29c6762618e32b7ca73916512d7f 5044 define static inlines for most often used atomic functions commit 6ed9368a130d7c9a82e574da808d34034da33748 5043 remove deprecated atomic functions' prototypes commit 75d94465dbafa487b716482dc36d5150a4ec9853 5042 stop using deprecated atomic functions
2014-08-125045 use atomic_{inc,dec}_* instead of atomic_add_*Josef 'Jeff' Sipek4-12/+10
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Robert Mustacchi <rm@joyent.com>
2014-07-25 [illumos-gate merge]Keith M Wesolowski1-2/+15
commit d690b62cf13675007342e6bb43d4816ec57a46dd 5026 intra-node/inter-zone networking doesn't always deliver SIGPOLL
2014-07-245026 intra-node/inter-zone networking doesn't always deliver SIGPOLLDan McDonald1-2/+15
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Garrett D'Amore <garrett@damore.org>
2014-05-16OS-2985 POLLHUP not generated for disconnected Unix domain socketsBryan Cantrill1-0/+7
2014-04-23OS-2893 add support for epollBryan Cantrill2-2/+13
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
2014-02-284627 POLLHUP not generated for disconnected socketsBryan Cantrill2-2/+43
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2014-02-24OS-2689 POLLHUP not generated for disconnected socketsBryan Cantrill2-2/+43
2014-01-173105 Kernel inet_pton() implementation returns result in host byte orderYuri Pankov1-4/+3
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Robert Mustacchi <rm@joyent.com>
2013-05-143769 Implement SOCK_NONBLOCK flag to socket()Keith M Wesolowski1-1/+25
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Theo Schlossnagle <jesus@omniti.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2013-04-233713 Implement accept4() (fix lint)Theo Schlossnagle1-1/+1
2013-04-213713 Implement accept4()Theo Schlossnagle1-6/+38
3714 Implement pipe2() 3715 Implement dup3() 3716 Implement mkostemp() and mkostemps() 3719 so_socketpair syscall should preserve FD_CLOEXEC flag Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Garrett D'Amore <garrett@damore.org>
2013-04-123666 Implement SOCK_CLOEXEC flag to socket()Theo Schlossnagle1-1/+9
Reviewed by Dan McDonald <danmcd@nexenta.com> Reviewed by Robert Mustacchi <rm@joyent.com> Approved by Garrett D'Amore <garrett@damore.org>
2013-04-053683 pfiles shouldn't try to trace itselfRobert Mustacchi1-2/+13
3684 pfiles crashes on processes with no files 3685 getsockname should set the sa_family_t for unbound unix domain sockets 3686 pfiles shows incorrect socket information on some getsockname calls Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Gordon Ross <gwr@nexenta.com>
2012-07-083063 many instances of unlike enum comparisonRichard Lowe1-1/+1
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Garrett D'Amore <garrett@damore.org>
2010-08-116966638 shutdown() sometimes appears to shutdown the wrong channel in a ↵George Shepherd1-2/+11
full-duplex socket.
2010-08-106972175 assertion failed: tcp->tcp_fin_sent, file: ↵Anders Persson2-10/+12
../../common/inet/tcp/tcp_input.c, line: 4306 6971322 sof_inject_data_out() cannot inject data from close callback 6971886 missing NULL cookie checks in some kssl filter callbacks
2010-08-096962670 MSG_EOR is set when a message is not completely receivedKacheong Poon3-8/+12
6973505 (sctp) com/sun/nio/sctp/SctpMultiChannel/SocketOptionTests.java crashes a system
2010-07-286968539 sof_setsockopt_impl suffers from USE_AFTER_FREEAnil udupa2-2/+1
6968540 unused value in sockparams_filter_cleanup_impl
2010-07-156963859 ipcl_conn_create() triggers panic in snv_143 on a machine with ↵Anders Persson1-0/+1
solaris10 branded zones 6965253 assertion failed: so->so_listener == NULL, file: ../../common/fs/sockfs/sockcommon.c, line: 524
2010-06-286878143 Assertion failure in sockfs:uri_deleteAnil udupa1-3/+3
2010-06-176939100 convert KSSL into a socket filterAnders Persson7-302/+46
2010-06-17PSARC/2009/590 Socket Filter FrameworkAnders Persson13-541/+2958
6939085 Socket Filter Framework 6802067 connect_failed kernel socket callback is not triggered 6776450 time spent in tcp_close could be reduced/deferred to a worker thread 6828586 assertion failed: family == 26, file: ../../common/fs/sockfs/socksyscalls.c, line: 1608 6802078 kernel socket 'newconn' callback is passing rcv queue size as an argument
2010-06-16PSARC 2010/144 lofi(7D) in non global zonesJohn Levon1-8/+4
6354954 lofi support in non-global zones 6942891 prof_lookup_globaldev() leaks rootdir refs 6945005 lofiadm -a /dev/lofi/1: recursive mutex enter 6946486 lofi_ioctl() shouldn't allow disk ioctl()s on /dev/lofictl
2010-04-266943440 race in solookup() can cause smod_refcnt to be bumped multiple times ↵Anders Persson1-5/+17
for a single sockparams
2010-04-21PSARC/2010/043 Reliable Datagram Service v3Eiji Ota1-4/+3
6850013 RDS driver upgrade to version 3 6902396 su_recv does not call pollwakeup() for zero-len datagrams when protocol uses uio recv
2010-03-296821379 Cannot ftp get in binary mode of an Samfs offline fileBrian Utterback1-10/+40
2010-03-05PSARC/2009/354 Always on / no reboot Solaris AuditMarek Pospisil3-12/+13
6192139 Solaris auditing should be able to start collecting audit records without a reboot
2010-01-156916647 so_strioc_nread is waiting on the wrong condvarAnders Persson1-1/+1
2010-01-156886057 ksocket_sendmsg() must return the number of bytes sent even in case ↵Anders Persson1-0/+1
of an error
2010-01-156638967 udp recv (think DNS) suffers from thundering herd problemAnders Persson3-17/+13
2010-01-124517853 debug.h should include macros to assert implication and equivalenceJonathan Adams1-5/+5
6915090 struct memlist should have ml_ member prefixes
2010-01-066887210 accept() accesses freed sonode and trips the systemJayakara Kini1-2/+5
2009-11-13PSARC/2009/396 Tickless Kernel Architecture / lbolt decouplingRafael Vanoni5-24/+18
6860030 tickless clock requires a clock() decoupled lbolt / lbolt64 Portions contributed by Chad Mynhier <cmynhier@gmail.com>
2009-11-11PSARC/2009/331 IP Datapath RefactoringErik Nordmark4-209/+4
PSARC/2008/522 EOF of 2001/070 IPsec HW Acceleration support PSARC/2009/495 netstat -r flags for blackhole and reject routes PSARC 2009/496 EOF of XRESOLV PSARC/2009/494 IP_DONTFRAG socket option PSARC/2009/515 fragmentation controls for ping and traceroute 6798716 ip_newroute delenda est 6798739 ARP and IP are too separate 6807265 IPv4 ip2mac() support 6756382 Please remove Venus IPsec HWACCEL code 6880632 sendto/sendmsg never returns EHOSTUNREACH in Solaris 6748582 sendmsg() return OK, but doesn't send message using IPv4-mapped x IPv6 addr 1119790 TCP and path mtu discovery 4637227 should support equal-cost multi-path (ECMP) 5078568 getsockopt() for IPV6_PATHMTU on a non-connected socket should not succeed 6419648 "AR* contract private note" should be removed as part of ATM SW EOL 6274715 Arp could keep the old entry in the cache while it waits for an arp response 6605615 Remove duplicated TCP/IP opt_set/opt_get code; use conn_t 6874677 IP_TTL can be used to send with ttl zero 4034090 arp should not let you delete your own entry 6882140 Implement IP_DONTFRAG socket option 6883858 Implement ping -D option; traceroute -F should work for IPv6 and shared-IP zones 1119792 TCP/IP black hole detection is broken on receiver 4078796 Directed broadcast forwarding code has problems 4104337 restrict the IPPROTO_IP and IPPROTO_IPV6 options based on the socket family 4203747 Source address selection for source routed packets 4230259 pmtu is increased every ip_ire_pathmtu_interval timer value. 4300533 When sticky option ipv6_pktinfo set to bogus address subsequent connect time out 4471035 ire_delete_cache_gw is called through ire_walk unnecessarily 4514572 SO_DONTROUTE socket option doesn't work with IPv6 4524980 tcp_lookup_ipv4() should compare the ifindex against tcpb->tcpb_bound_if 4532714 machine fails to switch quickly among failed default routes 4634219 IPv6 path mtu discovery is broken when using routing header 4691581 udp broadcast handling causes too many replicas 4708405 mcast is broken on machines when all interfaces are IFF_POINTOPOINT 4770457 netstat/route: source address of interface routes pretends to be gateway address 4786974 use routing table to determine routes/interface for multicast 4792619 An ip_fanout_udp_ipc_v6() routine might lead to some simpler code 4816115 Nuke ipsec_out_use_global_policy 4862844 ipsec offload corner case 4867533 tcp_rq and tcp_wq are redundant 4868589 NCEs should be shared across an IPMP group 4872093 unplumbing an improper virtual interface panics in ip_newroute_get_dst_ill() 4901671 FireEngine needs some cleanup 4907617 IPsec identity latching should be done before sending SYN-ACK 4941461 scopeid and IPV6_PKTINFO with UDP/ICMP connect() does not work properly 4944981 ip does nothing with IP6I_NEXTHOP 4963353 IPv4 and IPv6 proto fanout codes could be brought closer 4963360 consider passing zoneid using ip6i_t instead of ipsec_out_t in NDP 4963734 new ip6_asp locking is used incorrectly in ip_newroute_v6() 5008315 IPv6 code passes ip6i_t to IPsec code instead of ip6_t 5009636 memory leak in ip_fanout_proto_v6() 5092337 tcp/udp option handling can use some cleanup 5035841 Solaris can fail to create a valid broadcast ire 5043747 ar_query_xmit: Could not find the ace 5051574 tcp_check_policy is missing some checks 6305037 full hardware checksum is discarded when there're more than 2 mblks in the chain 6311149 ip.c needs to be put through a woodchipper 4708860 Unable to reassemble CGTP fragmented multicast packets 6224628 Large IPv6 packets with IPsec protection sometimes have length mismatch. 6213243 Solaris does not currently support Dead Gateway Detection 5029091 duplicate code in IP's input path for TCP/UDP/SCTP 4674643 through IPv6 CGTP routes, the very first packet is sent only after a while 6207318 Multiple default routes do not round robin connections to routers. 4823410 IP has an inconsistent view of link mtu 5105520 adding interface route to down interface causes ifconfig hang 5105707 advanced sockets API introduced some dead code 6318399 IP option handling for icmp and udp is too complicated 6321434 Every dropped packet in IP should use ip_drop_packet() 6341693 ifconfig mtu should operate on the physical interface, not individual ipif's 6352430 The credentials attached to an mblk are not particularly useful 6357894 uninitialised ipp_hoplimit needs to be cleaned up. 6363568 ip_xmit_v6() may be missing IRE releases in error cases 6364828 ip_rput_forward needs a makeover 6384416 System panics when running as multicast forwarder using multicast tunnels 6402382 TX: UDP v6 slowpath is not modified to handle mac_exempt conns 6418413 assertion failed ipha->ipha_ident == 0||ipha->ipha_ident == 0xFFFF 6420916 assertion failures in ipv6 wput path 6430851 use of b_prev to store ifindex is not 100% safe 6446106 IPv6 packets stored in nce->nce_qd_mp will be sent with incorrect tcp/udp checksums 6453711 SCTP OOTB sent as if genetated by global zone 6465212 ARP/IP merge should remove ire_freemblk.esballoc 6490163 ip_input() could misbehave if the first mblk's size is not big enough 6496664 missing ipif_refrele leads to reference leak and deferred crash in ip_wput_ipsec_out_v6 6504856 memory leak in ip_fanout_proto_v6() when using link local outer tunnel addresses 6507765 IRE cache hash function performs badly 6510186 IP_FORWARD_PROG bit is easily overlooked 6514727 cgtp ipv6 failure on snv54 6528286 MULTIRT (CGTP) should offload checksum to hardware 6533904 SCTP: doesn't support traffic class for IPv6 6539415 TX: ipif source selection is flawed for unlabeled gateways 6539851 plumbed unworking nic blocks sending broadcast packets 6564468 non-solaris SCTP stack over rawip socket: netstat command counts rawipInData not rawipOutDatagrams 6568511 ipIfStatsOutDiscards not bumped when discarding an ipsec packet on the wrong NIC 6584162 tcp_g_q_inactive() makes incorrect use of taskq_dispatch() 6603974 round-robin default with many interfaces causes infinite temporary IRE thrashing 6611750 ilm_lookup_ill_index_v4 was born an orphan 6618423 ip_wput_frag_mdt sends out packets that void pfhooks 6620964 IRE max bucket count calculations performed in ip_ire_init() are flawed 6626266 various _broadcasts seem redundant 6638182 IP_PKTINFO + SO_DONTROUTE + CIPSO IP option == panic 6647710 IPv6 possible DoS vulnerability 6657357 nce should be kmem_cache alloc'ed from an nce_cache. 6685131 ilg_add -> conn_ilg_alloc interacting with conn_ilg[] walkers can cause panic. 6730298 adding 0.0.0.0 key with mask != 0 causes 'route delete default' to fail 6730976 vni and ipv6 doesn't quite work. 6740956 assertion failed: mp->b_next == 0L && mp->b_prev == 0L in nce_queue_mp_common() 6748515 BUMP_MIB() is occasionally done on the wrong ill 6753250 ip_output_v6() `notv6' error path has an errant ill_refrele() 6756411 NULL-pointer dereference in ip_wput_local() 6769582 IP must forward packet returned from FW-HOOK 6781525 bogus usesrc usage leads directly to panic 6422839 System paniced in ip_multicast_loopback due to NULL pointer dereference 6785521 initial IPv6 DAD solicitation is dropped in ip_newroute_ipif_v6() 6787370 ipnet devices not seeing forwarded IP packets on outgoing interface 6791187 ip*dbg() calls in ip_output_options() claim to originate from ip_wput() 6794047 nce_fp_mp prevents sharing of NCEs across an IPMP group 6797926 many unnecessary ip0dbg() in ip_rput_data_v6 6846919 Packet queued for ND gets sent in the clear. 6856591 ping doesn't send packets with DF set 6861113 arp module has incorrect dependency path for hook module 6865664 IPV6_NEXTHOP does not work with TCP socket 6874681 No ICMP time exceeded when a router receives packet with ttl = 0 6880977 ip_wput_ire() uses over 1k of stack 6595433 IPsec performance could be significantly better when calling hw crypto provider synchronously 6848397 ifconfig down of an interface can hang. 6849602 IPV6_PATHMTU size issue for UDP 6885359 Add compile-time option for testing pure IPsec overhead 6889268 Odd loopback source address selection with IPMP 6895420 assertion failed: connp->conn_helper_info == NULL 6851189 Routing-related panic occurred during reboot on T2000 system running snv_117 6896174 Post-async-encryption, AH+ESP packets may have misinitialized ipha/ip6 6896687 iptun presents IPv6 with an MTU < 1280 6897006 assertion failed: ipif->ipif_id != 0 in ip_sioctl_slifzone_restart
2009-10-266873752 improper cleanup of the accept queue for sctp and sdp sockets (fix lint)Anders Persson1-1/+1
2009-10-216873752 improper cleanup of the accept queue for sctp and sdp socketsAnders Persson3-20/+22
2009-10-216859820 Several SOL_SOCKET level options no longer work on SCTP socketAnders Persson1-0/+5
2009-09-24PSARC/2009/232 Solaris Packet CaptureDarren Reed1-0/+178
PSARC/2009/403 kstats for ipnet 6824047 every downcall function should have a "notsupported" function 6822740 RFE: provide PF_PACKET for developers on OpenSolaris 6822741 RFE: Solaris needs BPF to improve the packet capture story 6867683 RFE: need to be able to retrieve physical interface flags
2009-08-316834314 Improper http response handlingAnil udupa1-5/+7
2009-07-286850754 flow-control does not get cleared on icmp socket, messing up rdisc.Rao Shoaib1-24/+45
2009-07-096844855 8.72% snv_115 vol25_09_loopback_32bit performance regression x86Anders Persson2-1/+5
2009-05-296837188 MSG_WAITALL skips over urgent markAnders Persson3-8/+14
2009-04-286813959 I/OAT should be removed from TCP and STREAMSAnders Persson10-664/+599
--HG-- rename : usr/src/uts/common/sys/sodirect.h => usr/src/uts/common/fs/sockfs/sodirect.h
2009-04-106828834 snf_segmap could be more readableVasumathi Sundaram - Sun Microsystems1-92/+113
2009-04-076770331 sendfilev is no longer LSO-optimizedVasumathi Sundaram - Sun Microsystems1-54/+151
2009-03-266818549 socksctp: recursive mutex_enter, lp=cbec2e7c owner=cb56b100 ↵Anders Persson2-3/+17
thread=cb56b100