Eric Dumazet <edumazet@xxxxxxxxxx> wrote: > > + struct dccp_hdr *dh; > > > > dh = skb_header_pointer(skb, dataoff, sizeof(_dh), &_dh); > > sizeof(struct dccp_hdr) , or sizeof(_dh._dh) ? sizeof(*dh) :-) Thanks, I will send v2.
Eric Dumazet <edumazet@xxxxxxxxxx> wrote: > > + struct dccp_hdr *dh; > > > > dh = skb_header_pointer(skb, dataoff, sizeof(_dh), &_dh); > > sizeof(struct dccp_hdr) , or sizeof(_dh._dh) ? sizeof(*dh) :-) Thanks, I will send v2.