From: Paul Moore <hidden> Date: 2013-03-06 21:45:26
When we have a large number of static label mappings that spill across
the netlink message boundary we fail to properly save our state in the
netlink_callback struct which causes us to repeat the same listings.
This patch fixes this problem by saving the state correctly between
calls to the NetLabel static label netlink "dumpit" routines.
Signed-off-by: Paul Moore <redacted>
Cc: stable@vger.kernel.org
---
net/netlabel/netlabel_unlabeled.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
From: David Miller <davem@davemloft.net> Date: 2013-03-07 21:21:21
From: Paul Moore <redacted>
Date: Wed, 06 Mar 2013 16:45:24 -0500
When we have a large number of static label mappings that spill across
the netlink message boundary we fail to properly save our state in the
netlink_callback struct which causes us to repeat the same listings.
This patch fixes this problem by saving the state correctly between
calls to the NetLabel static label netlink "dumpit" routines.
Signed-off-by: Paul Moore <redacted>
Applied and queued up for -stable, thanks.
Cc: stable@vger.kernel.org
Please just ask me to queue up networking fixes for stable, rather
than CC:'ing it to stable.
Thanks.
From: Paul Moore <hidden> Date: 2013-03-07 21:26:30
On Thursday, March 07, 2013 04:21:19 PM David Miller wrote:
From: Paul Moore <redacted>
Date: Wed, 06 Mar 2013 16:45:24 -0500
quoted
When we have a large number of static label mappings that spill across
the netlink message boundary we fail to properly save our state in the
netlink_callback struct which causes us to repeat the same listings.
This patch fixes this problem by saving the state correctly between
calls to the NetLabel static label netlink "dumpit" routines.
Signed-off-by: Paul Moore <redacted>
Applied and queued up for -stable, thanks.
quoted
Cc: stable@vger.kernel.org
Please just ask me to queue up networking fixes for stable, rather
than CC:'ing it to stable.
No problem, I'll do that in the future.
Thanks.
--
paul moore
security and virtualization @ redhat