Re: [PATCH nf] netfilter: ebtables: compat: un-break 32bit setsockopt when no rules are present

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

 



> I suspect we should always call xt_compat_init_offsets() and make it
> handle a 0 size arg, just to rule out a missing call to
> xt_compat_init_offsets() as a problem source.

Sorry for not being very helpful, but I am not really familiar with
this code. I saw this crash once but I have not been able
to reproduce it.
A few other modules seem to use xt_compat_init_offsets(). You
think we should handle a 0 size argument, rather than returning
-EINVAL, for all of them? How should we handle it, just reset
number/cur/compat_tab?



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux