forked from Minki/linux
Fix is_duplicate_packet() bug for fragmentation number setting.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
This commit is contained in:
parent
a2d73e60bb
commit
f57ce7ce9c
@ -7754,10 +7754,10 @@ static inline int is_duplicate_packet(struct ipw_priv *priv,
|
||||
if (*last_frag + 1 != frag)
|
||||
/* out-of-order fragment */
|
||||
goto drop;
|
||||
*last_frag = frag;
|
||||
} else
|
||||
*last_seq = seq;
|
||||
|
||||
*last_frag = frag;
|
||||
*last_time = jiffies;
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user