git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ip: introduce ip_is_fragment helper inline function
[pandora-kernel.git]
/
net
/
sched
/
cls_rsvp.h
diff --git
a/net/sched/cls_rsvp.h
b/net/sched/cls_rsvp.h
index
402c44b
..
ed691b1
100644
(file)
--- a/
net/sched/cls_rsvp.h
+++ b/
net/sched/cls_rsvp.h
@@
-167,7
+167,7
@@
restart:
dst = &nhptr->daddr;
protocol = nhptr->protocol;
xprt = ((u8 *)nhptr) + (nhptr->ihl<<2);
dst = &nhptr->daddr;
protocol = nhptr->protocol;
xprt = ((u8 *)nhptr) + (nhptr->ihl<<2);
- if (
nhptr->frag_off & htons(IP_MF | IP_OFFSET
))
+ if (
ip_is_fragment(nhptr
))
return -1;
#endif
return -1;
#endif