Skip to contentSkip to conversation

atm: Fix missing net/netlink.h include after nlmsg_trim() cleanup

PKT_SCHED Thomas Graf 2 participants 2 messages Mar 20, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

sch_atm.c:(.text+0x380ed): undefined reference to `nlmsg_trim'

net/sched/sch_atm.c +1 -1
index 53060e6..daa1644 100644
@@ -12,8 +12,8 @@
 #include <linux/atmdev.h>
 #include <linux/atmclip.h>
 #include <linux/netdevice.h>
-#include <linux/rtnetlink.h>
 #include <linux/file.h> /* for fput */
+#include <net/netlink.h>
 #include <net/pkt_sched.h>
 #include <net/sock.h>
 
#1 lore raw
Quoted 9 lines · Thomas Graf

sch_atm.c:(.text+0x380ed): undefined reference to `nlmsg_trim'

net/sched/sch_atm.c +0 -0
index 53060e6..daa1644 100644

net/sched/sch_atm.c line 18

Quoted 8 lines
net/sched/sch_atm.c +1 -1
@@ -12,8 +12,8 @@
 #include <linux/atmdev.h>
 #include <linux/atmclip.h>
 #include <linux/netdevice.h>
-#include <linux/rtnetlink.h>
 #include <linux/file.h> /* for fput */
+#include <net/netlink.h>
 #include <net/pkt_sched.h>
 #include <net/sock.h>

Hey, if it wasn't for Dave to state that he would be out in la-la land for three days you wouldn't have the opportunity to figure that I made a mistake :-)

I noticed that shortly after I made that mistake, but have to wait for boss to get back at his super merging abilities :-)

- Arnaldo