Thread (5 messages) flat view 5 messages, 2 authors, 2016-03-20

Re: [PATCH] appletalk: Pass IP-over-DDP packets through when 'ipddp0' interface is not present

From: Adam Seering <hidden>
Date: 2016-02-27 04:50:03

On Thu, 2016-02-25 at 19:46 -0500, Adam Seering wrote:
On Thu, 2016-02-25 at 14:33 -0500, David Miller wrote:
quoted
From: Adam Seering <redacted>
Date: Tue, 23 Feb 2016 09:19:13 -0500
quoted
Let userspace programs transmit and receive raw IP-over-DDP
packets
with a kernel where "ipddp" was compiled as a module but is not
loaded
quoted
(so no "ipddp0" network interface is exposed).  This makes the
"module
quoted
is not loaded" behavior match the "module was never compiled"
behavior.
quoted
Signed-off-by: Adam Seering <redacted>
I think a better approache is to somehow autoload the module.
Could you elaborate?  Specifically: the kernel currently suppresses
packets on behalf of the module even after the module is unloaded. 
 How
would autoloading the module help with that?
Re-reading this thread -- perhaps I didn't explain the problem well. 
 Let me elaborate.  Apologies if this is obvious to folks here:

I want my userspace program to send and receive DDP packets that
encapsulate IP traffic.

Problem:  On some kernel builds, these DDP packets are never delivered
to the DDP socket opened by my program.

The "ipddp" module is supposed to prevent those packets from being
delivered to DDP sockets when it is loaded -- it handles them itself. 
 Ok, that's fine; I just want to unload that module, right?

Wrong!  Unloading the module is not sufficient.  I have to re-compile
the kernel with the module disabled completely.  (No other config
options; simply setting the module to not build does the trick.)
whose sole purpose is to handle it.  If not, unload it.  This patch
makes that happen.  Thoughts?

Thanks,
Adam
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help