projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel: update 3.14 to 3.14.30
[openwrt.git]
/
target
/
linux
/
generic
/
patches-3.14
/
616-net_optimize_xfrm_calls.patch
diff --git
a/target/linux/generic/patches-3.14/616-net_optimize_xfrm_calls.patch
b/target/linux/generic/patches-3.14/616-net_optimize_xfrm_calls.patch
index
a4e4157
..
2a64d54
100644
(file)
--- a/
target/linux/generic/patches-3.14/616-net_optimize_xfrm_calls.patch
+++ b/
target/linux/generic/patches-3.14/616-net_optimize_xfrm_calls.patch
@@
-4,7
+4,7
@@
struct dst_entry *dst;
int err;
-+ if (!dev_net(skb->dev)->xfrm.policy_count[XFRM_POLICY_OUT])
++ if (
skb->dev &&
!dev_net(skb->dev)->xfrm.policy_count[XFRM_POLICY_OUT])
+ return 0;
+
err = xfrm_decode_session(skb, &fl, family);