Page MenuHomeFreeBSD

glebius (Gleb Smirnoff)
User

Projects

User Details

User Since
May 28 2014, 2:27 PM (519 w, 2 d)

Recent Activity

Tue, May 7

glebius committed rGf6963113f49c: in6_rmx: remove unnecessary socketvar.h (authored by glebius).
in6_rmx: remove unnecessary socketvar.h
Tue, May 7, 9:43 PM
glebius committed rGb6b4ac2faafa: tcp_hostcache: remove unnecessary socketvar.h (authored by glebius).
tcp_hostcache: remove unnecessary socketvar.h
Tue, May 7, 9:43 PM
glebius committed rGb925d7196782: sockets: garbage collect PRCOREQUESTS and stale comment (authored by glebius).
sockets: garbage collect PRCOREQUESTS and stale comment
Tue, May 7, 9:43 PM

Mon, May 6

glebius committed rG0089d83b3a21: lagg: enable tests that stress the configuration changes (authored by glebius).
lagg: enable tests that stress the configuration changes
Mon, May 6, 10:28 PM
glebius committed rGfadbb6f85a2e: lagg: remove use of net epoch in the ioctl paths (authored by glebius).
lagg: remove use of net epoch in the ioctl paths
Mon, May 6, 10:28 PM
glebius committed rG570685971c6a: lagg: propagate up/down to the children (authored by glebius).
lagg: propagate up/down to the children
Mon, May 6, 10:28 PM
glebius closed D44605: lagg: propagate up/down to the children.
Mon, May 6, 10:28 PM
glebius committed rG99b0270adc2a: sockets: hide socket hhook(9)s under SOCKET_HHOOK (authored by glebius).
sockets: hide socket hhook(9)s under SOCKET_HHOOK
Mon, May 6, 7:50 PM
glebius closed D44928: sockets: hide socket hhook(9)s under SOCKET_HHOOK.
Mon, May 6, 7:50 PM
glebius added a comment to D45102: Disable ICMP (v4) redirects by default.

I agree that this default is a long due to be changed. Needs to be mentioned in Release Notes, though.

Mon, May 6, 7:06 PM
glebius committed rGe9b411d27333: tests/fusefs: fix all tests that depend on kern.maxphys (authored by glebius).
tests/fusefs: fix all tests that depend on kern.maxphys
Mon, May 6, 7:04 PM
glebius closed D45053: tests/fusefs: fix all tests that depend on kern.maxphys.
Mon, May 6, 7:04 PM

Fri, May 3

glebius committed rGc368d3f20fc0: tests/sendfile: factor out tcp_socketpair() (authored by glebius).
tests/sendfile: factor out tcp_socketpair()
Fri, May 3, 2:45 PM
glebius committed rG0c0146c30904: tests/sendfile: test operation on unix/stream socket (authored by glebius).
tests/sendfile: test operation on unix/stream socket
Fri, May 3, 2:45 PM
glebius closed D45054: tests/sendfile: factor out tcp_socketpair().
Fri, May 3, 2:45 PM
glebius closed D45055: tests/sendfile: test operation on unix/stream socket.
Fri, May 3, 2:45 PM
glebius added inline comments to D44774: carp: support VRRPv3.
Fri, May 3, 4:39 AM

Thu, May 2

glebius added a comment to D45039: carp: isolate VRRP from CARP.
In D45039#1027550, @kp wrote:

Is this whole stack of reviews a temporary reviews to get easier review for pfsense and network? I think better just squash all my submissions on top of your work and push that to FreeBSD/main as one change.

My plan was to push the separate commits, because they detail the individual elements of the improvements and their justifications.

Thu, May 2, 9:57 PM
glebius added a comment to D45039: carp: isolate VRRP from CARP.

Is this whole stack of reviews a temporary reviews to get easier review for pfsense and network? I think better just squash all my submissions on top of your work and push that to FreeBSD/main as one change.

Thu, May 2, 5:35 PM
glebius added a comment to D45053: tests/fusefs: fix all tests that depend on kern.maxphys.
In D45053#1027303, @kib wrote:

u_long

Thu, May 2, 5:31 PM
glebius requested review of D45055: tests/sendfile: test operation on unix/stream socket.
Thu, May 2, 3:07 AM
glebius requested review of D45054: tests/sendfile: factor out tcp_socketpair().
Thu, May 2, 3:07 AM
glebius requested review of D45053: tests/fusefs: fix all tests that depend on kern.maxphys.
Thu, May 2, 3:06 AM

Wed, May 1

glebius added a comment to D45033: in_pcb: don't leak credential refcounts on error.

Good catch, thanks! Must also be merged to stable/14.

Wed, May 1, 4:43 AM

Tue, Apr 30

glebius accepted D44774: carp: support VRRPv3.

Thanks! Please write a longer commit message, that would mention preparatory and cleanup stuff that we did and aren't part of VRRP addition:

Tue, Apr 30, 4:37 PM
glebius added inline comments to D44774: carp: support VRRPv3.
Tue, Apr 30, 3:43 PM
glebius added inline comments to D44774: carp: support VRRPv3.
Tue, Apr 30, 7:12 AM
glebius added inline comments to D44774: carp: support VRRPv3.
Tue, Apr 30, 2:42 AM

Mon, Apr 29

glebius requested changes to D44774: carp: support VRRPv3.

I see. There is quite a lot of CARP specific code to be executed when we are VRRP mode and little bit code vice versa. I'm working pull requestes on github for you.

Mon, Apr 29, 10:26 PM

Thu, Apr 25

glebius updated the diff for D44928: sockets: hide socket hhook(9)s under SOCKET_HHOOK.

Move comment back.

Thu, Apr 25, 11:27 PM
glebius added a comment to D44774: carp: support VRRPv3.
In D44774#1024640, @kp wrote:

The switching code should just use a local variable to convert between prio and adnskew.

We can't convert between them. They're not different representations of the same concept, they just represent different things.

If we dereference CARP specific stuff in VRRP code or vice versa - that's a bug that needs be fixed rather than masked by non-unionizing data.

But that's what putting them in a union does. It, for lack of a better word, infects carp with vrrp settings and vice versa.

Thu, Apr 25, 7:41 PM
glebius added inline comments to D44928: sockets: hide socket hhook(9)s under SOCKET_HHOOK.
Thu, Apr 25, 4:29 PM
glebius committed rG19307b86d31b: accept_filter: return different errors for non-listener and a busy socket (authored by glebius).
accept_filter: return different errors for non-listener and a busy socket
Thu, Apr 25, 4:57 AM
glebius updated the diff for D44928: sockets: hide socket hhook(9)s under SOCKET_HHOOK.

SOCKET_HHOOK instead of TCP_HHOOK

Thu, Apr 25, 4:03 AM
glebius retitled D44928: sockets: hide socket hhook(9)s under SOCKET_HHOOK from sockets: hide socket hhook(9)s under TCP_HHOOK to sockets: hide socket hhook(9)s under SOCKET_HHOOK.
Thu, Apr 25, 3:29 AM
glebius committed rGc68eed82a3dc: accf_tls: accept filter that waits for TLS handshake header (authored by glebius).
accf_tls: accept filter that waits for TLS handshake header
Thu, Apr 25, 3:20 AM

Wed, Apr 24

glebius added a comment to D44774: carp: support VRRPv3.
In D44774#1024457, @kp wrote:

Putting those variables in a union means that setting sc_vrrp_prio will clobber sc_advskew (and vice versa). These have different constraints and different meanings. It just makes things harder than they need to be when switching between carp and vrrp.

Wed, Apr 24, 9:14 PM
glebius committed R11:7051dd7f8f37: archivers/zstd: fix WITH_DEBUG build (authored by glebius).
archivers/zstd: fix WITH_DEBUG build
Wed, Apr 24, 6:59 PM
glebius added a reviewer for D44928: sockets: hide socket hhook(9)s under SOCKET_HHOOK: tuexen.
Wed, Apr 24, 6:32 PM
glebius added a comment to D44928: sockets: hide socket hhook(9)s under SOCKET_HHOOK.

Or, this can go under SOCKET_HHOOK new option. Cause these two hhooks aren't really related. What do you think?

Wed, Apr 24, 6:32 PM
glebius requested review of D44928: sockets: hide socket hhook(9)s under SOCKET_HHOOK.
Wed, Apr 24, 6:31 PM
glebius added inline comments to D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..
Wed, Apr 24, 5:53 PM
glebius added a comment to D44774: carp: support VRRPv3.
In D44774#1023611, @kp wrote:

Put carp/vrrp3 specific variables in their own structs.

Wed, Apr 24, 5:50 PM
glebius committed rGa8acc2bf5699: sockets: inherit SO_ACCEPTFILTER from listener to child (authored by glebius).
sockets: inherit SO_ACCEPTFILTER from listener to child
Wed, Apr 24, 12:19 AM

Thu, Apr 18

glebius committed rGa01c7081fef6: vtnet: use CURVNET_SET() instead of CURVNET_SET_QUIET() (authored by glebius).
vtnet: use CURVNET_SET() instead of CURVNET_SET_QUIET()
Thu, Apr 18, 3:00 PM
glebius added inline comments to D44774: carp: support VRRPv3.
Thu, Apr 18, 4:10 AM
glebius added inline comments to D44774: carp: support VRRPv3.
Thu, Apr 18, 4:09 AM

Wed, Apr 17

glebius added a comment to D44817: Support IFCOUNTER_OBYTES and IFCOUNTER_OMCASTS even with VTNET_LEGACY_TX defined .

Looks like driver does "hardware" accounting and legacy accounting at the same time. That's why we see correct counts without your patches. If vtnet_accum_stats() provides us with all what we need, then the driver should declare IFCAP_HWSTATS in its capabilities. May I ask you to add this and also combine D44816 and D44817 into a single review?

Wed, Apr 17, 1:29 AM

Tue, Apr 16

glebius accepted D44811: iflib: Correct indentation according to style(9).

IMHO, such trivial changes do not require posting a review.

Tue, Apr 16, 6:44 PM
glebius committed rG8062f37d1c99: vtnet: set VNET context in RX handler (authored by glebius).
vtnet: set VNET context in RX handler
Tue, Apr 16, 3:59 PM
glebius committed rGcc16c3c3cb5f: pfilctl: fix 'pfilctl hooks' when nothing is connected (authored by glebius).
pfilctl: fix 'pfilctl hooks' when nothing is connected
Tue, Apr 16, 3:59 PM
glebius added inline comments to D44774: carp: support VRRPv3.
Tue, Apr 16, 3:22 PM

Mon, Apr 15

glebius added inline comments to D44774: carp: support VRRPv3.
Mon, Apr 15, 9:16 PM

Sun, Apr 14

glebius committed rGe6a4b57239da: mbuf: restore m_uiotombuf() feature of returning a zero length mbuf (authored by glebius).
mbuf: restore m_uiotombuf() feature of returning a zero length mbuf
Sun, Apr 14, 5:22 PM
glebius committed rG6655bec4e268: tests/unix_stream: test that send(2) of zero bytes is successful (authored by glebius).
tests/unix_stream: test that send(2) of zero bytes is successful
Sun, Apr 14, 5:22 PM
glebius committed rGeac87a7a7e26: ObsoleteFiles.inc: fix timestamps of the recent entries (authored by glebius).
ObsoleteFiles.inc: fix timestamps of the recent entries
Sun, Apr 14, 5:22 PM

Wed, Apr 10

glebius added a reverting change for rG3b7aa842e27d: sendfile: mark it explicitly as a TCP only feature: rG0020e1b617dc: Revert "sendfile: mark it explicitly as a TCP only feature".
Wed, Apr 10, 6:28 PM
glebius committed rG0020e1b617dc: Revert "sendfile: mark it explicitly as a TCP only feature" (authored by glebius).
Revert "sendfile: mark it explicitly as a TCP only feature"
Wed, Apr 10, 6:28 PM

Apr 9 2024

glebius added a reverting change for rGd80a97def9a1: unix: new implementation of unix/stream & unix/seqpacket: rG5716d902ae1d: Revert "unix: new implementation of unix/stream & unix/seqpacket".
Apr 9 2024, 8:20 PM
glebius added a reverting change for rGd1cbb17a873c: unix: fix the ad hoc STAILQ_PREPEND(): rG5716d902ae1d: Revert "unix: new implementation of unix/stream & unix/seqpacket".
Apr 9 2024, 8:20 PM
glebius committed rG5716d902ae1d: Revert "unix: new implementation of unix/stream & unix/seqpacket" (authored by glebius).
Revert "unix: new implementation of unix/stream & unix/seqpacket"
Apr 9 2024, 8:20 PM
glebius added a reverting change for rGfb8a8333b481: unix: return immediately on MSG_OOB: rG5716d902ae1d: Revert "unix: new implementation of unix/stream & unix/seqpacket".
Apr 9 2024, 8:20 PM
glebius added a reverting change for D44151: unix: new implementation of unix/stream & unix/seqpacket: rG5716d902ae1d: Revert "unix: new implementation of unix/stream & unix/seqpacket".
Apr 9 2024, 8:20 PM
glebius accepted D44685: tcp: Make tcp_var.h more self-contained.

I'm fine with this change, but I really prefer net-snmp not to know anything about struct tcpcb. I'll take a look at it later.

Apr 9 2024, 7:19 PM
glebius committed rGe205fd318a29: rpc: use new macros to lock socket buffers (authored by glebius).
rpc: use new macros to lock socket buffers
Apr 9 2024, 4:18 PM
glebius accepted D44633: ng_socket: Treat EEXIST from kern_kldload() as success in case there is a race condition.
Apr 9 2024, 5:14 AM
glebius added a comment to D44685: tcp: Make tcp_var.h more self-contained.

There is a guard at line 88:

#if defined(_KERNEL) || defined(_WANT_TCPCB)

Maybe move the includes there, just next to netinet/cc/cc.h?
What's the final goal of the change?

Apr 9 2024, 5:10 AM
glebius committed rGfb8a8333b481: unix: return immediately on MSG_OOB (authored by glebius).
unix: return immediately on MSG_OOB
Apr 9 2024, 12:10 AM
glebius committed rGd1cbb17a873c: unix: fix the ad hoc STAILQ_PREPEND() (authored by glebius).
unix: fix the ad hoc STAILQ_PREPEND()
Apr 9 2024, 12:04 AM
glebius committed rGf7c4d12bcd5b: icmp: correct the assertion that checks limit + jitter (authored by glebius).
icmp: correct the assertion that checks limit + jitter
Apr 9 2024, 12:04 AM

Apr 8 2024

glebius committed rGd80a97def9a1: unix: new implementation of unix/stream & unix/seqpacket (authored by glebius).
unix: new implementation of unix/stream & unix/seqpacket
Apr 8 2024, 8:30 PM
glebius committed rGaba79b0f4a3f: mbuf: provide mc_uiotomc() a function to copy from uio(9) to mchain (authored by glebius).
mbuf: provide mc_uiotomc() a function to copy from uio(9) to mchain
Apr 8 2024, 8:30 PM
glebius committed rG71f8702f49a7: mbuf: provide mc_get() that allocates struct mchain of given length (authored by glebius).
mbuf: provide mc_get() that allocates struct mchain of given length
Apr 8 2024, 8:30 PM
glebius closed D44151: unix: new implementation of unix/stream & unix/seqpacket.
Apr 8 2024, 8:30 PM
glebius committed rGfd01798fc48d: mbuf: add mc_split() that works on two struct mchain (authored by glebius).
mbuf: add mc_split() that works on two struct mchain
Apr 8 2024, 8:30 PM
glebius committed rG3b7aa842e27d: sendfile: mark it explicitly as a TCP only feature (authored by glebius).
sendfile: mark it explicitly as a TCP only feature
Apr 8 2024, 8:30 PM
glebius committed rGab8a51c45586: mbuf: provide new type for mbuf manipulation - mbuf chain (authored by glebius).
mbuf: provide new type for mbuf manipulation - mbuf chain
Apr 8 2024, 8:30 PM
glebius closed D44150: mbuf: provide mc_uiotomc() a function to copy from uio(9) to mchain.
Apr 8 2024, 8:30 PM
glebius closed D44149: mbuf: provide mc_get() that allocates struct mchain of given length.
Apr 8 2024, 8:30 PM
glebius committed rG0b4992976226: tests/unix_seqpacket: remove workaround for a kernel bug that is no longer (authored by glebius).
tests/unix_seqpacket: remove workaround for a kernel bug that is no longer
Apr 8 2024, 8:30 PM
glebius committed rGf9927821240a: tests/unix_seqpacket: test send(2) to a closed or aborted peer socket (authored by glebius).
tests/unix_seqpacket: test send(2) to a closed or aborted peer socket
Apr 8 2024, 8:30 PM
glebius closed D44147: mbuf: provide new type for mbuf manipulation - mbuf chain.
Apr 8 2024, 8:30 PM
glebius committed rGeb338e2370b4: tests/unix_seqpacket: provide random data pumping test with MSG_EOR (authored by glebius).
tests/unix_seqpacket: provide random data pumping test with MSG_EOR
Apr 8 2024, 8:30 PM
glebius closed D44146: tests/unix_seqpacket: test send(2) to a closed or aborted peer socket.
Apr 8 2024, 8:30 PM
glebius closed D43775: tests/unix_seqpacket: provide random data pumping test with MSG_EOR.
Apr 8 2024, 8:29 PM
glebius added inline comments to D44151: unix: new implementation of unix/stream & unix/seqpacket.
Apr 8 2024, 6:56 PM
glebius committed rG86a6393a7d67: ng_bridge: allow to automatically assign numbers to new hooks (authored by dave_freedave.net).
ng_bridge: allow to automatically assign numbers to new hooks
Apr 8 2024, 5:49 PM
glebius committed rGe943eceb928d: ng_bridge: document the limitation brought in f961caf2184c (authored by glebius).
ng_bridge: document the limitation brought in f961caf2184c
Apr 8 2024, 5:49 PM
glebius closed D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..
Apr 8 2024, 5:49 PM

Apr 4 2024

glebius added a comment to D44581: Introduce a new kernel-only errno EUNSDEP for unsatisfied dependency.
In D44581#1017675, @kib wrote:

I do not like it. Errno has the defined scope of providing the communication between kernel and userspace. Some of the 'out of band' values like ERESTART and EJUSTRETURN and valid extensions because they modify the kernel->user edge behavior, all other in the list are hacks.
More, the hack you propose is for very special and local situation, where error can be propagated by other means, if ever needed.

Apr 4 2024, 6:03 PM
glebius added a comment to D44581: Introduce a new kernel-only errno EUNSDEP for unsatisfied dependency.

So, whom should we ask? imp, jhb, kib, markj, some other people? Or are you confident yourself that we can proceed?

Apr 4 2024, 4:46 PM
glebius added a comment to D44581: Introduce a new kernel-only errno EUNSDEP for unsatisfied dependency.

Is there any good reasons to keep in kernel only rather than making it a BSD extension, placing it a few lines above in the errno.h right under #ifndef _POSIX_SOURCE?It is a good error for kldload(1) to return to a user, as long as strerror() supports it.

Apr 4 2024, 4:19 PM
glebius added a comment to D44633: ng_socket: Treat EEXIST from kern_kldload() as success in case there is a race condition.

Reducing multiple error codes to one is losing information and it is confusing regardless of how experienced a user is. Even in case of the least experienced user, they would file a problem report or ask on mailing lists, forums, or whatever, they will come asking for help with reduced information. First thing to help such a user would be to write a dtrace script or ask him to patch kernel with printfs to get the actual error.

Apr 4 2024, 4:17 PM
glebius added inline comments to D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..
Apr 4 2024, 3:14 PM
glebius added a comment to D44633: ng_socket: Treat EEXIST from kern_kldload() as success in case there is a race condition.

Why do we really want to lose a meaningful error code and reduce all errors into one value? IMHO, it is counterproductive. And if we got a new error code type, why can't we propagate it to userland, too?

Apr 4 2024, 3:50 AM
glebius accepted D44632: sockets: Add hhook in sonewconn for inheriting OSD specific data.

I was about to ask "where is #ifdef TCP_HHOOKS?" But then I realized that socket_hhh isn't hidden under any ifdef.

Apr 4 2024, 3:47 AM
glebius added inline comments to D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..
Apr 4 2024, 3:40 AM
glebius added inline comments to D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..
Apr 4 2024, 12:39 AM

Apr 3 2024

glebius accepted D44619: tcp: address warning.
Apr 3 2024, 8:19 PM
glebius added a comment to D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..

Actually before I go move things to newhook can I ask do we have consensus that I should just have a separate unr(9) for uplink?

Apr 3 2024, 6:24 PM