Ignore:
Timestamp:
Apr 16, 2017, 3:07:01 PM (6 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/net/sctp/sm_statefuns.c

    r29101 r31869  
    34273427                                                  commands);
    34283428
     3429                /* Report violation if chunk len overflows */
     3430                ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length));
     3431                if (ch_end > skb_tail_pointer(skb))
     3432                        return sctp_sf_violation_chunklen(net, ep, asoc, type, arg,
     3433                                                  commands);
     3434
    34293435                /* Now that we know we at least have a chunk header,
    34303436                 * do things that are type appropriate.
     
    34573463                        }
    34583464                }
    3459 
    3460                 /* Report violation if chunk len overflows */
    3461                 ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length));
    3462                 if (ch_end > skb_tail_pointer(skb))
    3463                         return sctp_sf_violation_chunklen(net, ep, asoc, type, arg,
    3464                                                   commands);
    34653465
    34663466                ch = (sctp_chunkhdr_t *) ch_end;
Note: See TracChangeset for help on using the changeset viewer.