summaryrefslogtreecommitdiffstats
path: root/net/netrom
diff options
context:
space:
mode:
authorFlorian Westphal2015-01-05 23:57:44 +0100
committerDavid S. Miller2015-01-06 04:55:24 +0100
commite715b6d3a5ef55834778d49224e60e8ccb5bf45f (patch)
tree61b0e9a29119fbe6062956f9429711f21eb1cefb /net/netrom
parentnet: fib6: fib6_commit_metrics: fix potential NULL pointer dereference (diff)
downloadkernel-qcow2-linux-e715b6d3a5ef55834778d49224e60e8ccb5bf45f.tar.gz
kernel-qcow2-linux-e715b6d3a5ef55834778d49224e60e8ccb5bf45f.tar.xz
kernel-qcow2-linux-e715b6d3a5ef55834778d49224e60e8ccb5bf45f.zip
net: fib6: convert cfg metric to u32 outside of table write lock
Do the nla validation earlier, outside the write lock. This is needed by followup patch which needs to be able to call request_module (which can sleep) if needed. Joint work with Daniel Borkmann. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions