summaryrefslogtreecommitdiff
path: root/net/unix/scm.c
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2023-07-25 11:54:43 +0300
committerFlorian Westphal <fw@strlen.de>2023-08-08 14:03:36 +0300
commit1d85594fd3e7e39e63b53b1bdc2d89db43b6ecd5 (patch)
tree94a87076accd53fd402cc391823bc43acce99f7b /net/unix/scm.c
parent61e9ab294b39e5e7c040884b65d06f52e06ac40f (diff)
downloadlinux-1d85594fd3e7e39e63b53b1bdc2d89db43b6ecd5.tar.xz
netfilter: nfnetlink_log: always add a timestamp
Compared to all the other work we're already doing to deliver an skb to userspace this is very cheap - at worse an extra call to ktime_get_real() - and very useful. (and indeed it may even be cheaper if we're running from other hooks) (background: Android occasionally logs packets which caused wake from sleep/suspend and we'd like to have timestamps reliably associated with these events) Cc: Pablo Neira Ayuso <pablo@netfilter.org> Cc: Martin KaFai Lau <kafai@fb.com> Cc: Florian Westphal <fw@strlen.de> Signed-off-by: Maciej Żenczykowski <maze@google.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions