Reducing netlink garbage

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

 



From: David L. Cantrell Jr. <dcantrell@xxxxxxxxxx>

[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@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux