summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorNelson Elhage <nelhage@ksplice.com>2010-11-03 16:35:41 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-04 12:26:34 -0700
commit22e76c849d505d87c5ecf3d3e6742a65f0ff4860 (patch)
treeba8ac3765ae60f1bc8ce20d280baa741eb7b046e /fs
parent6b8c92ba07287578718335ce409de8e8d7217e40 (diff)
downloadlinux-stable-22e76c849d505d87c5ecf3d3e6742a65f0ff4860.tar.gz
linux-stable-22e76c849d505d87c5ecf3d3e6742a65f0ff4860.tar.bz2
linux-stable-22e76c849d505d87c5ecf3d3e6742a65f0ff4860.zip
inet_diag: Make sure we actually run the same bytecode we audited.
We were using nlmsg_find_attr() to look up the bytecode by attribute when auditing, but then just using the first attribute when actually running bytecode. So, if we received a message with two attribute elements, where only the second had type INET_DIAG_REQ_BYTECODE, we would validate and run different bytecode strings. Fix this by consistently using nlmsg_find_attr everywhere. Signed-off-by: Nelson Elhage <nelhage@ksplice.com> Signed-off-by: Thomas Graf <tgraf@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions