mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
net: Unbreak userspace usage of linux/mroute.h
Nothing in linux/pim.h should be exported to userspace. This should fix the XORP build failure reported by Jose Calhariz, the debain package maintainer. Nothing originally in linux/mroute.h was exported to userspace ever, but some of this stuff started to be when it was moved into this new linux/pim.h, and that was wrong. If we didn't provide these definitions for 10 years we can reasonably expect that applications defined this stuff locally or used GLIBC headers providing the protocol definitions. And as such the only result of this can be conflict and userland build breakage. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
102396ae65
commit
7c19a3d280
4 changed files with 2 additions and 20 deletions
|
@ -6,7 +6,6 @@
|
|||
#ifdef __KERNEL__
|
||||
#include <linux/in.h>
|
||||
#endif
|
||||
#include <linux/pim.h>
|
||||
|
||||
/*
|
||||
* Based on the MROUTING 3.5 defines primarily to keep
|
||||
|
@ -130,6 +129,7 @@ struct igmpmsg
|
|||
*/
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/pim.h>
|
||||
#include <net/sock.h>
|
||||
|
||||
#ifdef CONFIG_IP_MROUTE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue