[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:
Yan Zheng 2005-10-03 14:19:15 -07:00 committed by David S. Miller
parent 444fc8fc3a
commit f36d6ab182

View file

@ -666,7 +666,7 @@ slow_path:
*/
fh->nexthdr = nexthdr;
fh->reserved = 0;
if (frag_id) {
if (!frag_id) {
ipv6_select_ident(skb, fh);
frag_id = fh->identification;
} else