aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2023-04-17 09:00:52 -0400
committerDavid S. Miller <[email protected]>2023-04-19 09:04:16 +0100
commit4e006c7a6dac0ead4c1bf606000aa90a372fc253 (patch)
tree2ea0dbf86b5cd042424497464945f3a819a0f0e8 /scripts/gdb/linux/utils.py
parent6f4833383e8514ea796d094e05c24889b8997fde (diff)
net: rpl: fix rpl header size calculation
This patch fixes a missing 8 byte for the header size calculation. The ipv6_rpl_srh_size() is used to check a skb_pull() on skb->data which points to skb_transport_header(). Currently we only check on the calculated addresses fields using CmprI and CmprE fields, see: https://www.rfc-editor.org/rfc/rfc6554#section-3 there is however a missing 8 byte inside the calculation which stands for the fields before the addresses field. Those 8 bytes are represented by sizeof(struct ipv6_rpl_sr_hdr) expression. Fixes: 8610c7c6e3bd ("net: ipv6: add support for rpl sr exthdr") Signed-off-by: Alexander Aring <[email protected]> Reported-by: maxpl0it <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions