summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto_nlmsg.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/proto_nlmsg.c b/proto_nlmsg.c
index 0098d27..3f5ef64 100644
--- a/proto_nlmsg.c
+++ b/proto_nlmsg.c
@@ -22,7 +22,13 @@ static void nlmsg(struct pkt_buff *pkt)
if (hdr == NULL)
return;
- /* Look up the process name if message is not coming from the kernel */
+ /* Look up the process name if message is not coming from the kernel.
+ *
+ * Note that the port id is not necessarily equal to the PID of the
+ * receiving process (e.g. if the application is multithreaded or using
+ * multiple sockets). In these cases we're not able to find a matching
+ * PID and the information will not be printed.
+ */
if (hdr->nlmsg_pid != 0) {
char path[1024];
int ret;
cgi/linux/net-next.git/log/arch/arm/boot/dts/imx6q-hummingboard.dts?h=nds-private-remove'>nds-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-hummingboard.dts')