mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge branch 'fixes.b8' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/bird
This commit is contained in:
commit
cf70a6f264
9 changed files with 20 additions and 27 deletions
|
|
@ -458,7 +458,7 @@ ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
|
|||
mtu = IPV6_MIN_MTU;
|
||||
t->dev->mtu = mtu;
|
||||
|
||||
if ((len = sizeof (*ipv6h) + ipv6h->payload_len) > mtu) {
|
||||
if ((len = sizeof (*ipv6h) + ntohs(ipv6h->payload_len)) > mtu) {
|
||||
rel_type = ICMPV6_PKT_TOOBIG;
|
||||
rel_code = 0;
|
||||
rel_info = mtu;
|
||||
|
|
|
|||
Loading…
Reference in a new issue