Opened 5 years ago

Last modified 4 years ago

#3707 new enhancement

Call subnetSelect only once for incoming DHCPv4 packet

Reported by: tomek Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: dhcp4 Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by tomek)

As pointed out by Nicolas (, subnet4_select hook is called several times.
The reason is that the subnetSelect method is called multiple times.

This should be called only once for each incoming packet.


Change History (7)

comment:1 Changed 5 years ago by tomek

  • Description modified (diff)

comment:2 Changed 5 years ago by hschempf

  • Milestone changed from Kea-proposed to Kea0.9.1

Wait for #3688 to complete first (this ticket will be addressed by #3688)

comment:3 Changed 5 years ago by marcin

The #3688 has been merged but unfortunately it doesn't solve the problem completely. For the directly connected client one additional call to selectSubnet will be observed. For the relayed clients there should be only one call.

I leave this ticket around but we will not be able to address it for 0.9.1 release and we need to defer it to some future milestone. Probably 0.9.2.

comment:4 Changed 5 years ago by marcin

  • Milestone changed from Kea0.9.1 to Kea0.9.2

As this hasn't been address completely, moving it to 0.9.2

comment:5 Changed 5 years ago by hschempf

  • Milestone changed from Kea0.9.2 to Kea1.0

comment:6 Changed 4 years ago by stephen

  • Milestone changed from Kea1.0 to DHCP Outstanding Tasks

Per Kea planning meeting in October, remove from 1.0.

comment:7 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

Note: See TracTickets for help on using tickets.