* [request for stable inclusion] net: neighbour: prohibit negative value for unres_qlen_bytes parameter
@ 2013-08-07 3:23 wangweidong
2013-09-10 17:55 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: wangweidong @ 2013-08-07 3:23 UTC (permalink / raw)
To: davem; +Cc: netdev, stable, davidshan, dingtianhong, Li Zefan
Hi Shan Wei or David,
ce46cc64d47a8afaf13c300b09a7f9c29f4979b6
net: neighbour: prohibit negative value for unres_qlen_bytes parameter
This looks applicable to stable-3.4, I can reproduce it on this 3.4 kernel.
It fixes a type overflow when setting unres_qlen. I try to reproduce, and
then this patch works well. But git am or patch -p1 failed, because a
previous patch [commit 9a6308d74ed (neighbour: Stop using NLA_PUT*().)]
change the NLA_PUT_U32 to nla_put_u32. With some modifies, it was built
successful for me. What do you think?
stable-3.0 and stable-3.2 are free from this bug. And the bug was fixed in
3.8; The commit got its way into mainline in 3.8 cycle.
Thanks!
Wang Weidong
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [request for stable inclusion] net: neighbour: prohibit negative value for unres_qlen_bytes parameter
2013-08-07 3:23 [request for stable inclusion] net: neighbour: prohibit negative value for unres_qlen_bytes parameter wangweidong
@ 2013-09-10 17:55 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-09-10 17:55 UTC (permalink / raw)
To: wangweidong1; +Cc: netdev, stable, davidshan, dingtianhong, lizefan
From: wangweidong <wangweidong1@huawei.com>
Date: Wed, 7 Aug 2013 11:23:00 +0800
> Hi Shan Wei or David,
>
> ce46cc64d47a8afaf13c300b09a7f9c29f4979b6
> net: neighbour: prohibit negative value for unres_qlen_bytes parameter
>
> This looks applicable to stable-3.4, I can reproduce it on this 3.4 kernel.
> It fixes a type overflow when setting unres_qlen. I try to reproduce, and
> then this patch works well. But git am or patch -p1 failed, because a
> previous patch [commit 9a6308d74ed (neighbour: Stop using NLA_PUT*().)]
> change the NLA_PUT_U32 to nla_put_u32. With some modifies, it was built
> successful for me. What do you think?
Queued up, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-10 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07 3:23 [request for stable inclusion] net: neighbour: prohibit negative value for unres_qlen_bytes parameter wangweidong
2013-09-10 17:55 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).