Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
net
/
sched
/
cls_rsvp.h
diff --git
a/kernel/net/sched/cls_rsvp.h
b/kernel/net/sched/cls_rsvp.h
index
f9c9fc0
..
9992dfa
100644
(file)
--- a/
kernel/net/sched/cls_rsvp.h
+++ b/
kernel/net/sched/cls_rsvp.h
@@
-152,7
+152,8
@@
static int rsvp_classify(struct sk_buff *skb, const struct tcf_proto *tp,
return -1;
nhptr = ip_hdr(skb);
#endif
-
+ if (unlikely(!head))
+ return -1;
restart:
#if RSVP_DST_LEN == 4