<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/sockstat, branch release/9.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC/backport core kernel and userspace parts of r237263 (TCP_OFFLOAD</title>
<updated>2013-07-03T09:25:29+00:00</updated>
<author>
<name>Navdeep Parhar</name>
<email>np@FreeBSD.org</email>
</author>
<published>2013-07-03T09:25:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bd85dcc4ec5bce61d07b9624cf50cb9ff6806500'/>
<id>bd85dcc4ec5bce61d07b9624cf50cb9ff6806500</id>
<content type='text'>
rework).  MFC r237563, r239511, r243603, r245915, r245916, r245919,
r245921, r245922, r245924, r245925, r245932, r245934 too.

Build tested with make universe.

r237263:
- Updated TOE support in the kernel.
...

r237563:
Fix clang warning when compiling iw_cxgb.

r239511:
Correctly handle the case where an inp has already been dropped by the time
the TOE driver reports that an active open failed.  toe_connect_failed is
supposed to handle this but it should be provided the inpcb instead of the
tcpcb which may no longer be around.

r243603:
Make sure that tcp_timer_activate() correctly sees TCP_OFFLOAD (or not).

r245915:
Heed SO_NO_OFFLOAD.

r245916:
Teach toe_4tuple_check() to deal with IPv6 4-tuples too.

r245919:
Add TCP_OFFLOAD hook in syncache_respond for IPv6 too, just like the one
that exists for IPv4.

r245921:
There is no need to call into the TOE driver twice in pru_rcvd (tod_rcvd
and then tod_output right after that).

r245922:
Avoid NULL dereference in nd6_storelladdr when no mbuf is provided.  It
is called this way from a couple of places in the OFED code.  (toecore
calls it too but that's going to change shortly).

r245924:
Move lle_event to if_llatbl.h

lle_event replaced arp_update_event after the ARP rewrite and ended up
in if_ether.h simply because arp_update_event used to be there too.
IPv6 neighbor discovery is going to grow lle_event support and this is a
good time to move it to if_llatbl.h.

The two in-tree consumers of this event - OFED and toecore - are not
affected.

r245925:
Generate lle_event in the IPv6 neighbor discovery code too.

r245932:
Teach toe_l2_resolve to resolve IPv6 destinations too.

r245934:
Add checks for SO_NO_OFFLOAD in a couple of places that I missed earlier
in r245915.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rework).  MFC r237563, r239511, r243603, r245915, r245916, r245919,
r245921, r245922, r245924, r245925, r245932, r245934 too.

Build tested with make universe.

r237263:
- Updated TOE support in the kernel.
...

r237563:
Fix clang warning when compiling iw_cxgb.

r239511:
Correctly handle the case where an inp has already been dropped by the time
the TOE driver reports that an active open failed.  toe_connect_failed is
supposed to handle this but it should be provided the inpcb instead of the
tcpcb which may no longer be around.

r243603:
Make sure that tcp_timer_activate() correctly sees TCP_OFFLOAD (or not).

r245915:
Heed SO_NO_OFFLOAD.

r245916:
Teach toe_4tuple_check() to deal with IPv6 4-tuples too.

r245919:
Add TCP_OFFLOAD hook in syncache_respond for IPv6 too, just like the one
that exists for IPv4.

r245921:
There is no need to call into the TOE driver twice in pru_rcvd (tod_rcvd
and then tod_output right after that).

r245922:
Avoid NULL dereference in nd6_storelladdr when no mbuf is provided.  It
is called this way from a couple of places in the OFED code.  (toecore
calls it too but that's going to change shortly).

r245924:
Move lle_event to if_llatbl.h

lle_event replaced arp_update_event after the ARP rewrite and ended up
in if_ether.h simply because arp_update_event used to be there too.
IPv6 neighbor discovery is going to grow lle_event support and this is a
good time to move it to if_llatbl.h.

The two in-tree consumers of this event - OFED and toecore - are not
affected.

r245925:
Generate lle_event in the IPv6 neighbor discovery code too.

r245932:
Teach toe_l2_resolve to resolve IPv6 destinations too.

r245934:
Add checks for SO_NO_OFFLOAD in a couple of places that I missed earlier
in r245915.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r237674</title>
<updated>2012-06-30T18:57:55+00:00</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2012-06-30T18:57:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=593ed580a65f1882928af1666741dd250c06762f'/>
<id>593ed580a65f1882928af1666741dd250c06762f</id>
<content type='text'>
 Update the usage with the new jail option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 Update the usage with the new jail option.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r235870</title>
<updated>2012-06-27T22:11:31+00:00</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2012-06-27T22:11:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d985a4f3697d9af052ff5f3fb095eed1ea85f5f6'/>
<id>d985a4f3697d9af052ff5f3fb095eed1ea85f5f6</id>
<content type='text'>
 Allow the socket list to be limited to a specific jail id.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 Allow the socket list to be limited to a specific jail id.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r230512: sockstat: Also show sockets not associated with a descriptor.</title>
<updated>2012-02-15T21:03:26+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2012-02-15T21:03:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=20ff2c5bc561197df581722bff2804c8cc1b745e'/>
<id>20ff2c5bc561197df581722bff2804c8cc1b745e</id>
<content type='text'>
Sockets not associated with a file descriptor include TCP TIME_WAIT states
and sockets created via the socket(9) API such as from rpc.lockd and the NFS
client.

PR:		bin/164081
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sockets not associated with a file descriptor include TCP TIME_WAIT states
and sockets created via the socket(9) API such as from rpc.lockd and the NFS
client.

PR:		bin/164081
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r230874:</title>
<updated>2012-02-12T07:55:33+00:00</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-02-12T07:55:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=491651fdba25d06815dd4ae7363b258a17eddf88'/>
<id>491651fdba25d06815dd4ae7363b258a17eddf88</id>
<content type='text'>
Try to avoid ambiguity when sysctl returns ENOMEM additionally
checking the returned oldlen: when ENOMEM is due to the supplied
buffer being too short the return oldlen is equal to buffer size.

Without this additional check sockstat gets stuck in loop leaking the
memory if the returned ENOMEM was due the exceeded memorylocked
limit. This is easily can be observed running `limits -l 1k sockstat'.

Submitted by:	Andrey Zonov &lt;andrey zonov org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Try to avoid ambiguity when sysctl returns ENOMEM additionally
checking the returned oldlen: when ENOMEM is due to the supplied
buffer being too short the return oldlen is equal to buffer size.

Without this additional check sockstat gets stuck in loop leaking the
memory if the returned ENOMEM was due the exceeded memorylocked
limit. This is easily can be observed running `limits -l 1k sockstat'.

Submitted by:	Andrey Zonov &lt;andrey zonov org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>o Make sockstat -6 output more readable for long ipv6</title>
<updated>2010-03-30T09:58:21+00:00</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2010-03-30T09:58:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=09bbda2122498276513a5aadf7a347a72bb4734b'/>
<id>09bbda2122498276513a5aadf7a347a72bb4734b</id>
<content type='text'>
addresses (most of them apart from ::1): put a whitespace
between local and remote address:port pairs.

PR:		bin/145194
Submitted by:	Fedor Dikarev
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
addresses (most of them apart from ::1): put a whitespace
between local and remote address:port pairs.

PR:		bin/145194
Submitted by:	Fedor Dikarev
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Build usr.bin/ with WARNS=6 by default.</title>
<updated>2010-01-02T10:27:05+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-02T10:27:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b7946da96b4498519f66f3f5fe72d1474bf13f7d'/>
<id>b7946da96b4498519f66f3f5fe72d1474bf13f7d</id>
<content type='text'>
Also add some missing $FreeBSD$ to keep svn happy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add some missing $FreeBSD$ to keep svn happy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mute some warnings on uninitialized variables.</title>
<updated>2010-01-02T10:14:35+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-02T10:14:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=01cc221b4cb01158146875b6acbd412cbbef4a88'/>
<id>01cc221b4cb01158146875b6acbd412cbbef4a88</id>
<content type='text'>
The code does the right thing, but the compiler is unable to figure it
out. All paths that use that variable use the same invariant.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code does the right thing, but the compiler is unable to figure it
out. All paths that use that variable use the same invariant.
</pre>
</div>
</content>
</entry>
<entry>
<title>Note that sockstat(1) does not display kernel-owned sockets.</title>
<updated>2009-12-21T17:23:04+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2009-12-21T17:23:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fcdb43ba01d522bed24f9d7fe139248720831266'/>
<id>fcdb43ba01d522bed24f9d7fe139248720831266</id>
<content type='text'>
Submitted by:	infofarmer@
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	infofarmer@
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Add manual page links to advertise procstat(1) a little better.</title>
<updated>2009-07-09T16:40:00+00:00</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2009-07-09T16:40:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e50022797f5236493e7f80c3ba8cbc088b7627a7'/>
<id>e50022797f5236493e7f80c3ba8cbc088b7627a7</id>
<content type='text'>
Approved by:	re (kib)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re (kib)
</pre>
</div>
</content>
</entry>
</feed>
