diff options
author | Paul Moore <pmoore@redhat.com> | 2013-03-06 11:45:24 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-03-27 02:40:57 +0000 |
commit | d0cdda8c7d481136278793e10cb37c63635ea823 (patch) | |
tree | 412c5a48636619a8b548dc73dc581c36f27b8585 /net/core | |
parent | 2987487f57466edc220e3f8128bb6755df3a75cf (diff) |
netlabel: correctly list all the static label mappings
[ Upstream commits 0c1233aba1e948c37f6dc7620cb7c253fcd71ce9 and
a6a8fe950e1b8596bb06f2c89c3a1a4bf2011ba9 ]
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 <pmoore@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions