Change in osmo-ggsn[master]: check ioctl() call return value in tun_new()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Stefan Sperling gerrit-no-reply at lists.osmocom.org
Wed Nov 21 14:24:19 UTC 2018


Stefan Sperling has posted comments on this change. ( https://gerrit.osmocom.org/11856 )

Change subject: check ioctl() call return value in tun_new()
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/11856/1/lib/tun.c
File lib/tun.c:

https://gerrit.osmocom.org/#/c/11856/1/lib/tun.c@198
PS1, Line 198: 			SYS_ERR(DTUN, LOGL_NOTICE, errno, "could not disable checksum on %s", (*tun)->devname);
> LOGL_ERROR?
I intentionally decided not to use LOGL_ERROR because this failure is not treated as a fatal condition.
Compare to how TUNSETIFF ioctl failure is handled.



-- 
To view, visit https://gerrit.osmocom.org/11856
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I88da2164d975d7a232619b8d31c5eadeef0f3a80
Gerrit-Change-Number: 11856
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Comment-Date: Wed, 21 Nov 2018 14:24:19 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181121/0a041df3/attachment.htm>


More information about the gerrit-log mailing list