[IPV6]: Fix ipv6 fragment ID selection at slow path
Signed-Off-By: Yan Zheng <yanzheng@21cn.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
444fc8fc3a
commit
f36d6ab182
@@ -666,7 +666,7 @@ slow_path:
|
|||||||
*/
|
*/
|
||||||
fh->nexthdr = nexthdr;
|
fh->nexthdr = nexthdr;
|
||||||
fh->reserved = 0;
|
fh->reserved = 0;
|
||||||
if (frag_id) {
|
if (!frag_id) {
|
||||||
ipv6_select_ident(skb, fh);
|
ipv6_select_ident(skb, fh);
|
||||||
frag_id = fh->identification;
|
frag_id = fh->identification;
|
||||||
} else
|
} else
|
||||||
|
Reference in New Issue
Block a user