summaryrefslogtreecommitdiff
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-06-11 13:50:14 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2021-06-11 15:48:51 +0300
commit3ca5ca83e206eab566830e08664eda415f428374 (patch)
tree988c9ee273eb4c18c9f6ebda2f434e12a1cc111b /include/net/xfrm.h
parentd1002d2490e3ebc30dd3ba747656cfa90c87e984 (diff)
downloadlinux-3ca5ca83e206eab566830e08664eda415f428374.tar.xz
xfrm: merge dstopt and routing hdroff functions
Both functions are very similar, so merge them into one. The nexthdr is passed as argument to break the loop in the ROUTING case, this is the only header type where slightly different rules apply. While at it, the merged function is realigned with ip6_find_1stfragopt(). That function received bug fixes for an infinite loop, but neither dstopt nor rh parsing functions (copy-pasted from ip6_find_1stfragopt) were changed. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net/xfrm.h')
0 files changed, 0 insertions, 0 deletions