[Differential] [Commented On] D1986: Teach lagg(4) to change MTU

2015-10-18 Thread hrs (Hiroki Sato)
hrs added a subscriber: hrs. hrs added a comment. It is true that this LOR is driver-specific but calling SIOCSIFMTU after acquiring a lock in lagg ioctl is not always safe. Change of lladdr suffers from the same situation and it was solved by using an asynchronous task queue to update address

[Differential] D19422: if_vxlan(4) Allow set MTU more than 1500 bytes.

2019-03-12 Thread hrs (Hiroki Sato)
hrs added a comment. Adding jumbo frame support looks good to me. However, is it better to support this in ether_ioctl() instead of a driver-specific ioctl handler? Check of (ifr->ifr_mtu > ETHERMTU) in ether_ioctl() can be changed to check if the interface has IFCAP_JUMBO_MTU or not. IN

[Differential] [Commented On] D1986: Teach lagg(4) to change MTU

2015-12-18 Thread hrs (Hiroki Sato)
hrs added inline comments. INLINE COMMENTS sys/net/if_lagg.c:753 Please separate a llq loop from a handler for per-port configuration. A llq traversal should be required only once in lagg_port_ops() if the handlers process a single lagg_llq entry. sys/net/if_lagg.c:837 Is this (llq == NULL),

[Differential] D8904: inet: Fix routing issue by calling if_up()

2016-12-25 Thread hrs (Hiroki Sato)
hrs added a comment. The cause is that the prefix route was removed by in_scrubprefix() in the PRC_IFDOWN handler and never reinstalled upon PRC_IFUP because the reinstallation is done only for ifa passed to SIOCAIFADDR. Just calling if_up(ifp) looks too heavy to me because it causes extra

[Differential] D23788: DRAFT: ng_ksocket: IPv6 address parsing and unparsing

2020-02-23 Thread hrs (Hiroki Sato)
hrs requested changes to this revision. hrs added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > ng_ksocket.c:319 > + > + for (i = 0; i < 8; i++) { > + u_long val; inet_pton in libkern should be used to parse an IPv6 address. Al