Re: [PATCH nf] netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux