Source-Changes archive

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

CVS commit: src/sys/net

Module Name:    src
Committed By:   dyoung
Date:           Fri May  9 20:14:07 UTC 2008

Modified Files:
        src/sys/net: if_gre.c if_gre.h

Log Message:
Make gre(4) work in the New File Descriptor / Socket Locking Order.

Move the function+line printing into GRE_DPRINTF().

Retire gre_closef().  Retire gre_join().  Constify gre_reconf(),
and don't pass it an LWP any longer.

Make this work in the new file descriptor regime.  Add a kernel
thread per gre(4) instance whose purpose is to install the socket
into proc0's file descriptor table.  Add gre_fp_send() and
gre_fp_recv() for passing file_t pointers to proc0.

Fix locking:  don't solock() in the socket upcall, where it is
already held.  Do solock() before calling soconnect().

Simplify reconfiguration.

Update a comment that mentions finding a less specific route, since
we don't do that any more.

To generate a diff of this commit:
cvs rdiff -r1.131 -r1.132 src/sys/net/if_gre.c
cvs rdiff -r1.36 -r1.37 src/sys/net/if_gre.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index