Vlad Yasevich wrote:
> I am trying to teach SCTP about the TOS settings on a per-association
> basis.  While trying to do that, I was using rt_tos2priority call.
> Everything worked great while sctp was built into the kernel, but
> builds failed when building as a module.
> 
> I tracked it down to this code.  rt_tos2prority is a static inline and
> ip_tos2prio is externed.  To get this to build I either had to create
> a exported stub for rt_tos2priority(), or exprt ip_tos2prio.
> 
> If the stub is a better way to go, I'll do that instead.

I guess its fine if its for SCTP, but the usual way would be to make
this change in the same patch/patchset that actually uses it.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to