Thread (1 message) 1 message, 1 author, 2004-01-16

Re: [PATCH] (1/5) replay netdev notifier events on registration

From: chas williams (contractor) <hidden>
Date: 2004-01-16 03:19:29

In message [ref],"David S. Miller" writes:
2) Add a type cookie or similar to the generic netdev, only devices
  which need to identify themselves in these generic kind of cases
  add identifier values there, so currently that would be MPOA and
  QETH, then the code goes:

if (dev->type_cookie == NETDEV_TYPE_MPOA)
	return NOTIFY_DONE;
while just as ugly it would probably suffice to check dev->start_xmit()
to make sure its the routine you know it should be.  since the number 
of drivers that need to do this seems small this might be simpler.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help