Page MenuHomeFreeBSD
Feed Advanced Search

Yesterday

glebius committed rGefc8353481e3: usbdump: remove some FreeBSD 9.x code (authored by glebius).
usbdump: remove some FreeBSD 9.x code
Mon, Dec 15, 9:48 PM
glebius committed rG3daae1ac1d82: ipfw: create a bpf tap point for every log rule (authored by glebius).
ipfw: create a bpf tap point for every log rule
Mon, Dec 15, 9:48 PM
glebius committed rG1615eff94cda: usb: don't create ifnet(9) for usbus devices (authored by glebius).
usb: don't create ifnet(9) for usbus devices
Mon, Dec 15, 9:48 PM
glebius closed D53877: ipfw: create a bpf tap point for every log rule.
Mon, Dec 15, 9:48 PM
glebius committed rG1c5021f5251b: ifconfig: print warning and return success on ipfw0, ipfwlog0 cloning (authored by glebius).
ifconfig: print warning and return success on ipfw0, ipfwlog0 cloning
Mon, Dec 15, 9:47 PM
glebius closed D53876: ifconfig: print warning and return success on ipfw0, ipfwlog0 cloning.
Mon, Dec 15, 9:47 PM
glebius closed D54063: usb: don't create ifnet(9) for usbus devices.
Mon, Dec 15, 9:47 PM
glebius committed rGddf4f9eda9c2: ipfw: create "ipfw0" and "ipfwlog0" bpf tapping points without ifnet(9) (authored by glebius).
ipfw: create "ipfw0" and "ipfwlog0" bpf tapping points without ifnet(9)
Mon, Dec 15, 9:47 PM
glebius closed D53875: ipfw: create "ipfw0" and "ipfwlog0" bpf tapping points without ifnet(9).
Mon, Dec 15, 9:47 PM
glebius closed D53874: libpcap: obtain list of bpf tap points with BIOCGETIFLIST.
Mon, Dec 15, 9:47 PM
glebius committed rG94b76ea9d136: libpcap: obtain list of bpf tap points with BIOCGETIFLIST (authored by glebius).
libpcap: obtain list of bpf tap points with BIOCGETIFLIST
Mon, Dec 15, 9:47 PM
glebius closed D53873: bpf: add BIOCGETIFLIST ioctl that returns all available tap points.
Mon, Dec 15, 9:46 PM
glebius committed rGc10447a9256b: bpf: add BIOCGETIFLIST ioctl that returns all available tap points (authored by glebius).
bpf: add BIOCGETIFLIST ioctl that returns all available tap points
Mon, Dec 15, 9:46 PM
glebius closed D53872: bpf: modularize ifnet(9) part of bpf.
Mon, Dec 15, 9:46 PM
glebius committed rG8774a990ee40: bpf: modularize ifnet(9) part of bpf (authored by glebius).
bpf: modularize ifnet(9) part of bpf
Mon, Dec 15, 9:46 PM
glebius updated the diff for D53872: bpf: modularize ifnet(9) part of bpf.
  • Fixup missing bif_chkdir method for radiotap.
Mon, Dec 15, 8:14 PM
glebius requested review of D54241: ng_iface: don't recursively enter epoch in the rcvdata method.
Mon, Dec 15, 7:51 PM
glebius added a comment to D53871: bpf: don't recursively enter the network epoch in bpf taps.

I uploaded the patch to https://reviews.freebsd.org/F139754092 . I might miss some drivers but that should be almost completed. While working on this, I'm not fully convinced this is a good approach. I'd argue the bpf part is too tightly coupled with the net epoch.

Mon, Dec 15, 7:20 PM
glebius committed rGac6a7f621668: if_clone: don't overwrite dump_nl of an attaching cloner with default (authored by p.mousavizadeh_protonmail.com).
if_clone: don't overwrite dump_nl of an attaching cloner with default
Mon, Dec 15, 4:58 PM
glebius closed D54190: if_clone: don't overwrite dump_nl of drivers.
Mon, Dec 15, 4:58 PM

Sat, Dec 13

glebius added a comment to D53871: bpf: don't recursively enter the network epoch in bpf taps.

Indeed I have WIP to remove NET_EPOCH_ENTER / NET_EPOCH_EXIT from bpf.c and that is almost identical to your work. Well I must admit that I never finished it as there' re too many places to check manual.

$ grep -Er 'BPF_[M]?TAP|bpf_[m]?tap' sys
.... lots of drivers

I'll try to find them all and send you a patch.

Sat, Dec 13, 4:16 AM
glebius closed D53870: bpf: convert several boolean natured fields of bpf_d to flags.
Sat, Dec 13, 12:44 AM
glebius committed rGc42bce238abd: bpf: convert several boolean natured fields of bpf_d to flags (authored by glebius).
bpf: convert several boolean natured fields of bpf_d to flags
Sat, Dec 13, 12:44 AM

Fri, Dec 12

glebius added inline comments to D54197: RELNOTES: Add entries from this week's scan of the commit logs.
Fri, Dec 12, 8:55 PM
glebius added inline comments to D54197: RELNOTES: Add entries from this week's scan of the commit logs.
Fri, Dec 12, 6:29 PM
glebius added inline comments to D54172: Add Support for Geneve (RFC8926).
Fri, Dec 12, 5:26 PM
glebius committed rG929338d1e92a: tpc: retire net.inet.tcp.nolocaltimewait (authored by glebius).
tpc: retire net.inet.tcp.nolocaltimewait
Fri, Dec 12, 5:24 PM
glebius added a comment to D53871: bpf: don't recursively enter the network epoch in bpf taps.

@zlei thanks for all these findings! It seems that at least few of them were violating epoch even before the suggested bpf change. Are you going to commit the fixes? I can help. To me some of these fixes do not look related to bpf at all.

Fri, Dec 12, 5:13 PM
glebius added inline comments to D54172: Add Support for Geneve (RFC8926).
Fri, Dec 12, 4:47 PM
glebius added a comment to D54109: netlink: use same cred as caller's cred similar to ifioctl.

The patch as is definitely brings correct behavior. But, IMHO, we should try to propagate the cred change as deeper in the call stack as possible. It seems trivial while we are withing netlink, as nlp carries correct cred. But once we go from netlink to if_clone.c, we lose it. Let's hear from @melifaro

Fri, Dec 12, 4:08 PM
glebius accepted D54190: if_clone: don't overwrite dump_nl of drivers.
Fri, Dec 12, 4:00 PM

Thu, Dec 11

glebius added inline comments to D54172: Add Support for Geneve (RFC8926).
Thu, Dec 11, 5:21 PM
glebius added a comment to D54085: net: invoke ifnet_arrival_event handlers before linking in.

There're other consumers of ifnet_arrival_event. I'm a little worried that they may expect a fully constructed ifnet, i.e. consumers see that the if_inet and if_inet6 are also initialized.

Thu, Dec 11, 4:33 PM
glebius added a comment to D54175: if_ovpn: fix memory leak in VNET.

That's what I thought, but other software ifnet implementations I looked at (gif, wg, bridge, epair) all seem to behave like this.

Thu, Dec 11, 4:24 PM
glebius added a comment to D54175: if_ovpn: fix memory leak in VNET.

So, if we want MOD_UNLOAD to autodestruct all if_ovpn interfaces, I think the current approach makes sense. Probably this should share code with ovpn_prison_remove().

Thu, Dec 11, 3:51 PM
glebius added inline comments to D54175: if_ovpn: fix memory leak in VNET.
Thu, Dec 11, 3:04 PM
glebius added inline comments to D54175: if_ovpn: fix memory leak in VNET.
Thu, Dec 11, 3:03 PM
glebius committed rGe967a2a03677: sockets: remove compat shim for divert(4) (authored by glebius).
sockets: remove compat shim for divert(4)
Thu, Dec 11, 2:08 AM

Wed, Dec 10

glebius committed rGa8d8bf4affa9: sendfile: if sendfile_getobj() fails jump to the function epilogue (authored by glebius).
sendfile: if sendfile_getobj() fails jump to the function epilogue
Wed, Dec 10, 9:57 PM
glebius committed rG45b3846ae5aa: linux: fix unr(9) leak on module unload (authored by glebius).
linux: fix unr(9) leak on module unload
Wed, Dec 10, 9:53 PM
glebius updated the diff for D53877: ipfw: create a bpf tap point for every log rule.
  • Documentation and ipfw(8) update.
Wed, Dec 10, 8:39 PM
glebius updated the diff for D53875: ipfw: create "ipfw0" and "ipfwlog0" bpf tapping points without ifnet(9).
  • Documentation and rc(8) update.
Wed, Dec 10, 8:38 PM
glebius added inline comments to D54085: net: invoke ifnet_arrival_event handlers before linking in.
Wed, Dec 10, 7:47 PM
glebius committed rG89eddfb4b9f5: linux: fix panic on kldunload (authored by glebius).
linux: fix panic on kldunload
Wed, Dec 10, 7:22 PM
glebius added inline comments to D54162: netlink: Optimize growing the snl_writer message buffer.
Wed, Dec 10, 4:29 PM

Tue, Dec 9

glebius committed rG0f12ee8ae1a8: linux: fix build without VIMAGE (authored by glebius).
linux: fix build without VIMAGE
Tue, Dec 9, 5:43 PM

Mon, Dec 8

glebius added a comment to D53872: bpf: modularize ifnet(9) part of bpf.

I'd like to push D53870 through D53877 this week. More review is appreciated.

Mon, Dec 8, 5:30 PM
glebius committed rGb986aa05a84d: lltable: use own lock (authored by glebius).
lltable: use own lock
Mon, Dec 8, 5:21 PM
glebius closed D54086: lltable: use own lock.
Mon, Dec 8, 5:21 PM
glebius committed rG607f11055d2d: linux: store Linux Ethernet interface number in struct ifnet (authored by glebius).
linux: store Linux Ethernet interface number in struct ifnet
Mon, Dec 8, 5:21 PM
glebius committed rGfbf05d2147b1: linux: separate all ifnet(9) related code into linux_ifnet.c (authored by glebius).
linux: separate all ifnet(9) related code into linux_ifnet.c
Mon, Dec 8, 5:21 PM
glebius closed D54077: linux: store Linux Ethernet interface number in struct ifnet.
Mon, Dec 8, 5:21 PM
glebius closed D54076: linux: separate all ifnet(9) related code into linux_ifnet.c.
Mon, Dec 8, 5:21 PM

Sun, Dec 7

glebius added a comment to D54109: netlink: use same cred as caller's cred similar to ifioctl.

Looks correct! Thanks. What did happen before? This command failed?

Sun, Dec 7, 5:14 PM

Sat, Dec 6

glebius committed rG6f4debc004c3: tcp: fix build with RSS (authored by glebius).
tcp: fix build with RSS
Sat, Dec 6, 4:33 PM
glebius committed rGa83191c928cd: net: fix LINT-NOIP build (authored by glebius).
net: fix LINT-NOIP build
Sat, Dec 6, 4:24 PM

Fri, Dec 5

glebius committed rGbc14dcd113ae: tests/if_bridge: mark several tests as requring vlan(4) or gif(4) (authored by glebius).
tests/if_bridge: mark several tests as requring vlan(4) or gif(4)
Fri, Dec 5, 7:31 PM
glebius requested review of D54089: net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9).
Fri, Dec 5, 5:36 PM
glebius accepted D54088: ip6: Add explicit lock order information to catch boot-time LOR.
Fri, Dec 5, 5:35 PM
glebius requested review of D54086: lltable: use own lock.
Fri, Dec 5, 4:53 PM
glebius requested review of D54085: net: invoke ifnet_arrival_event handlers before linking in.
Fri, Dec 5, 4:51 PM
glebius committed rG8291ea8761c2: netinet6: use IF_ADDR_LOCK instead of IF_AFDATA_LOCK in defrtr_ipv6_only_ifp (authored by glebius).
netinet6: use IF_ADDR_LOCK instead of IF_AFDATA_LOCK in defrtr_ipv6_only_ifp
Fri, Dec 5, 4:38 PM
glebius committed rG59062fd0b2f1: netinet6: use IF_ADDR_LOCK instead of IF_AFDATA_LOCK (authored by glebius).
netinet6: use IF_ADDR_LOCK instead of IF_AFDATA_LOCK
Fri, Dec 5, 4:38 PM
glebius accepted D53787: ipfilter: Disable ipfs(8) by default.

No objection.

Fri, Dec 5, 3:44 PM
glebius updated the diff for D54077: linux: store Linux Ethernet interface number in struct ifnet.
  • Make the netlink_writer cookie an honest const ifnet pointer.
  • Refactor some code to provide the new constness constraint.
Fri, Dec 5, 5:42 AM

Thu, Dec 4

glebius requested review of D54077: linux: store Linux Ethernet interface number in struct ifnet.
Thu, Dec 4, 8:29 PM
glebius requested review of D54076: linux: separate all ifnet(9) related code into linux_ifnet.c.
Thu, Dec 4, 8:29 PM
glebius committed rGfd131b47f20d: net: remove dom_ifmtu (authored by glebius).
net: remove dom_ifmtu
Thu, Dec 4, 7:24 PM
glebius committed rGc7f05ef82478: net: routing table attach never fails (authored by glebius).
net: routing table attach never fails
Thu, Dec 4, 7:12 PM
glebius committed rG27ff90cd3d8d: tests/carp: make a 0.2 second pause before configuring second jail (authored by glebius).
tests/carp: make a 0.2 second pause before configuring second jail
Thu, Dec 4, 6:52 PM
glebius committed rGe353cbffd600: tests/carp: make sleep interval in the wait loop smaller (authored by glebius).
tests/carp: make sleep interval in the wait loop smaller
Thu, Dec 4, 6:52 PM
glebius committed rG575efcfff22f: sendfile: remove SF_SYNC in FreeBSD 16.0 (authored by glebius).
sendfile: remove SF_SYNC in FreeBSD 16.0
Thu, Dec 4, 4:45 PM
glebius committed rG215c58a1c677: pf: make unhandled_af() inline (authored by glebius).
pf: make unhandled_af() inline
Thu, Dec 4, 4:45 PM
glebius closed D54064: pf: make unhandled_af() inline.
Thu, Dec 4, 4:45 PM
glebius requested review of D54064: pf: make unhandled_af() inline.
Thu, Dec 4, 12:35 AM
glebius added a reviewer for D54063: usb: don't create ifnet(9) for usbus devices: USB.
Thu, Dec 4, 12:20 AM
glebius requested review of D54063: usb: don't create ifnet(9) for usbus devices.
Thu, Dec 4, 12:20 AM
glebius updated the diff for D53877: ipfw: create a bpf tap point for every log rule.
  • Address the fact that many rules can have the same number.
  • Support 32-bit rule numbers.
Thu, Dec 4, 12:18 AM
glebius updated the diff for D53872: bpf: modularize ifnet(9) part of bpf.
  • Rebase + unsignigicant changes.
Thu, Dec 4, 12:16 AM
glebius updated the diff for D53871: bpf: don't recursively enter the network epoch in bpf taps.
  • Address USB.
Thu, Dec 4, 12:16 AM
glebius updated the diff for D53870: bpf: convert several boolean natured fields of bpf_d to flags.

The d_promisc appears to be locked by the global BPF_LOCK(). Thus, remove it
from this changes. This addresses Mark's comments.

Thu, Dec 4, 12:14 AM

Wed, Dec 3

glebius committed rG72ca89482afc: bpf: global bpf list doesn't need CK (authored by glebius).
bpf: global bpf list doesn't need CK
Wed, Dec 3, 11:20 PM
glebius committed rG845896655815: bpf: calculate net.bpf.stats buffer size dynamically (authored by glebius).
bpf: calculate net.bpf.stats buffer size dynamically
Wed, Dec 3, 11:20 PM
glebius committed rG57673d166940: bpf: retire struct bpf_if_ext (authored by glebius).
bpf: retire struct bpf_if_ext
Wed, Dec 3, 11:20 PM
glebius closed D53869: bpf: global bpf list doesn't need CK.
Wed, Dec 3, 11:20 PM
glebius closed D53868: bpf: calculate net.bpf.stats buffer size dynamically.
Wed, Dec 3, 11:20 PM
glebius committed rG73fe85e486d2: tcp: store flowid info in syncache (authored by glebius).
tcp: store flowid info in syncache
Wed, Dec 3, 11:20 PM
glebius committed rGee18f8be2165: tcp: don't set flowid in tcp_input() (authored by glebius).
tcp: don't set flowid in tcp_input()
Wed, Dec 3, 11:20 PM
glebius closed D53867: bpf: retire struct bpf_if_ext.
Wed, Dec 3, 11:20 PM
glebius closed D53886: tcp: don't set flowid in tcp_input().
Wed, Dec 3, 11:20 PM
glebius closed D51792: tcp: store flowid info in syncache.
Wed, Dec 3, 11:20 PM
glebius accepted D54053: lacp: Sort port map by interface index.
Wed, Dec 3, 10:50 PM
glebius added a comment to D54053: lacp: Sort port map by interface index.

My understanding. First, qsort() itself never passes NULL pointer. Second, could a map[] entry within p->pm_count be NULL or not? The new code assumes it can't be. Then we also have a case with lacp_port that has NULL lp_ifp, which is covered.

Wed, Dec 3, 6:56 PM
glebius added a comment to D54053: lacp: Sort port map by interface index.

If pointers in the map[] can be NULL, then you removed too much, didn't you?

Wed, Dec 3, 6:54 PM
glebius committed R11:90f81f4af51f: minidlna: wrap up a sub-release (authored by glebius).
minidlna: wrap up a sub-release
Wed, Dec 3, 5:53 PM
glebius added inline comments to D54053: lacp: Sort port map by interface index.
Wed, Dec 3, 5:18 PM

Tue, Nov 25

glebius added inline comments to D53870: bpf: convert several boolean natured fields of bpf_d to flags.
Tue, Nov 25, 5:32 PM
glebius updated the diff for D53868: bpf: calculate net.bpf.stats buffer size dynamically.
  • Apply Mark's suggestion
Tue, Nov 25, 6:05 AM
glebius added inline comments to D53877: ipfw: create a bpf tap point for every log rule.
Tue, Nov 25, 5:58 AM

Mon, Nov 24

glebius added a comment to D53899: arp: Reduce lifetime of ARP entries.

AFAIU, when arptimer() finds entry in state ARP_LLINFO_REACHABLE it gives it arp_rexmit time (1 second) to get feedback from the forwarding path and sets its state to ARP_LLINFO_VERIFY. In 1 second if feedback was collected, it will issue arprequest(). My concern is that the jitter is bigger than 1 second. I could be wrong, and my concern is erroneous. I just wanted to make sure that this specific behavior is checked to persist. I don't think we have a regression test for it.

Mon, Nov 24, 5:58 PM