]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: move mp->rx_page_size validation to __net_mp_open_rxq()
authorJakub Kicinski <kuba@kernel.org>
Thu, 22 Jan 2026 00:51:10 +0000 (16:51 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jan 2026 19:49:02 +0000 (11:49 -0800)
commitda7772a2b4ad2ee328b1fbb44e538ed1ce2a766f
tree2c5a041631a93afea779d7be98054d4b96cab57c
parentb9ac2c60a3ad445fa81289aac5adc06b8c1b1d57
net: move mp->rx_page_size validation to __net_mp_open_rxq()

Move mp->rx_page_size validation where the rest of MP input
validation lives. No other caller is modifying mp params so
validation logic in queue restarts is out of place.

Link: https://patch.msgid.link/20260122005113.2476634-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/netdev_rx_queue.c