]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
net: txgbe: leave space for null terminators on property_entry
authorFabio Baltieri <fabio.baltieri@gmail.com>
Sun, 5 Apr 2026 22:20:13 +0000 (23:20 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 9 Apr 2026 02:11:37 +0000 (19:11 -0700)
commit5a37d228799b0ec2c277459c83c814a59d310bc3
tree453d7a12cc06377c4a51e0570fa5c8b63cfe667c
parentb30b1675aa2bcf0491fd3830b051df4e08a7c8ca
net: txgbe: leave space for null terminators on property_entry

Lists of struct property_entry are supposed to be terminated with an
empty property, this driver currently seems to be allocating exactly the
amount of entry used.

Change the struct definition to leave an extra element for all
property_entry.

Fixes: c3e382ad6d15 ("net: txgbe: Add software nodes to support phylink")
Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
Tested-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20260405222013.5347-1-fabio.baltieri@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/txgbe/txgbe_type.h