Patrick McHardy
557922584d
[XFRM]: esp: fix skb_tail_pointer conversion bug
Fix incorrect switch of "trailer" skb by "skb" during skb_tail_pointer
conversion:
- *(u8*)(trailer->tail - 1) = top_iph->protocol;
+ *(skb_tail_pointer(skb) - 1) = top_iph->protocol;
- *(u8 *)(trailer->tail - 1) = *skb_network_header(skb);
+ *(skb_tail_pointer(skb) - 1) = *skb_network_header(skb);
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:28:37 -07:00
..
2007-04-25 22:26:20 -07:00
2007-04-25 22:26:26 -07:00
2007-04-25 22:26:20 -07:00
2007-04-25 22:28:29 -07:00
2007-04-25 22:28:30 -07:00
2007-04-25 22:28:23 -07:00
2007-04-25 22:28:29 -07:00
2007-04-25 22:28:36 -07:00
2007-04-25 22:27:04 -07:00
2007-04-25 22:28:30 -07:00
2007-04-25 22:26:28 -07:00
2007-04-25 22:24:32 -07:00
2007-04-25 22:28:29 -07:00
2007-04-25 22:28:37 -07:00
2007-04-25 22:28:37 -07:00
2007-04-25 22:25:15 -07:00
2007-04-25 22:28:29 -07:00
2007-04-25 22:25:15 -07:00
2007-04-25 22:25:15 -07:00
2007-04-25 22:26:20 -07:00
2007-04-25 22:28:29 -07:00
2007-04-25 22:28:05 -07:00
2007-04-25 22:28:30 -07:00
2007-04-25 22:26:28 -07:00
2007-04-25 22:28:29 -07:00
2007-04-25 22:25:22 -07:00
2007-04-25 22:27:58 -07:00
2007-04-25 22:28:04 -07:00
2007-04-25 22:28:29 -07:00
2007-04-25 22:25:15 -07:00
2007-04-25 22:28:29 -07:00
2007-04-25 22:28:30 -07:00
2007-04-25 22:28:33 -07:00
2007-04-25 22:24:21 -07:00
2007-04-25 22:24:22 -07:00