Description of problem: route for srv6 can't be added if there are too may segs Version-Release number of selected component (if applicable): iproute-6.2.0-2.el9.x86_64 How reproducible: Always Steps to Reproduce: ip link add dum1 type dummy ip link set dum1 up for i in {1..60}; do seg_test="$seg_test,$i::1"; done ip -6 route add 3125:23::1234 encap seg6 mode inline segs $seg_test dev dum1 Actual results: addraw_l ERROR: message exceeded bound of 1024 Expected results: route can be added Additional info: [root@sweetpig-6 ~]# rpm -q iproute iproute-6.2.0-2.el9.x86_64 [root@sweetpig-6 ~]# uname -a Linux sweetpig-6.4a2m.lab.eng.bos.redhat.com 5.14.0-318.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 24 11:03:00 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux [root@sweetpig-6 ~]# ip -6 route add 3125:23::1234 encap seg6 mode inline segs $seg_test dev dum1 addraw_l ERROR: message exceeded bound of 1024 [root@sweetpig-6 ~]# ip -6 route list 3125:23::1234 3125:23::1234 dev dum1 metric 1024 pref medium