summaryrefslogtreecommitdiff
path: root/corking.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-15misc: remove two header commentsDaniel Borkmann1-6/+0
It's ridiculous to have a header comment here. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04corking: use bool instead of intDaniel Borkmann1-4/+4
We have a boolen condition, so use bool instead of doing stupid things with ints. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04corking: break out udp/tcp cork functionsDaniel Borkmann1-0/+66
No, it's not about whine bottles ... move udp and tcp cork functions out of xutils.c, so that we can further let it shrink. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
href='/cgit.cgi/linux/net-next.git/tree/Documentation?h=nds-private-remove&id=76a658c20efd541a62838d9ff68ce94170d7a549'>Documentation parent188e3c5cd2b672620291e64a21f1598fe91e40b6 (diff)
audit: move calcs after alloc and check when logging set loginuid
Move the calculations of values after the allocation in case the allocation fails. This avoids wasting effort in the rare case that it fails, but more importantly saves us extra logic to release the tty ref. Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'Documentation')