]> 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)
commit6413347cc629dc917070bb35252875b62361f8ee
tree1f3160d93a6cc2d0e14b5ae4822cc99ef89864d9
parente5f73bbb7c1a85dbe2f8de192ae9e2ff2664ee7d
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