]> git.baikalelectronics.ru Git - kernel.git/commit
seg6: fix srh pointer in get_srh()
authorAndrea Mayer <andrea.mayer@uniroma2.it>
Sat, 16 Nov 2019 15:05:52 +0000 (16:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Nov 2019 20:18:32 +0000 (12:18 -0800)
commit7124f3fe869be81f106d4192f8970943a5ddd72d
tree1f3160d93a6cc2d0e14b5ae4822cc99ef89864d9
parente69e707e26c39934d039531a9a538fafb0eb8cc5
seg6: fix srh pointer in get_srh()

pskb_may_pull may change pointers in header. For this reason, it is
mandatory to reload any pointer that points into skb header.

Signed-off-by: Andrea Mayer <andrea.mayer@uniroma2.it>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/seg6_local.c