[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Reducing netlink garbage



From: David L. Cantrell Jr. <dcantrell redhat com>

[Here I sit waiting for RHEL-5 nightlies...]

A while ago, I wrote a lot of netlink code for loader in anticipation of
the exciting world of IPv6.  I wrote the code from scratch rather than
using libnl because that was the way of loader.  Also, I didn't really
like libnl back then, so, you know how that goes (NIH! NIH! NIH!).
Also, it was kind of interesting.

Since we have moved to a dynamic loader, I have run through nl.c in the
isys subdirectory and rewritten the two functions we call in isys.c and
from loader.  I now just call libnl to do all the work.  No more
dependency on glib either.

This patch is the beginning of a simplification of the networking code
in isys and loader.  I don't plan on doing anything else in this area
before F-9 goes out, but I'm getting things ready for post F-9 rawhide.

Advantages:

* A new library we can blame when netlink stuff fails.
* Less code in isys--everyone likes minus signs in diffstat.
* No more glib dependency.

Comments, opinions, theorems...please direct them to my inbox.

-- 
David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]