Skip to content

Commit

Permalink
update DRV_VERSION to v0.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-ywliu committed Apr 10, 2024
1 parent 3d82488 commit 0540e93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/genl_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "genl.h"

#define DRV_VERSION "0.8.7"
#define DRV_VERSION "0.8.8"

enum gtp5g_version {
GTP5G_VERSION
Expand Down
4 changes: 2 additions & 2 deletions src/gtpu/trTCM.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Color policePacket(TrafficPolicer* p, int pktLen) {
refillTokens = p->byteRate * p->refillTokenTime / NANOSECONDS_PER_SECOND;

if (refillTokens > 0) {
u64 remainTime = p->refillTokenTime -
u64 remainTime = p->refillTokenTime -
(refillTokens * NANOSECONDS_PER_SECOND / p->byteRate);
p->refillTokenTime = remainTime;
}
Expand Down Expand Up @@ -84,4 +84,4 @@ Color policePacket(TrafficPolicer* p, int pktLen) {

spin_unlock(&p->lock);
return Red;
}
}

0 comments on commit 0540e93

Please sign in to comment.