aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kobject_uevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kobject_uevent.c')
-rw-r--r--lib/kobject_uevent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 318328ddbd1c..38131028d16f 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -227,6 +227,9 @@ int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
227 NETLINK_CB(skb).dst_group = 1; 227 NETLINK_CB(skb).dst_group = 1;
228 retval = netlink_broadcast(uevent_sock, skb, 0, 1, 228 retval = netlink_broadcast(uevent_sock, skb, 0, 1,
229 GFP_KERNEL); 229 GFP_KERNEL);
230 /* ENOBUFS should be handled in userspace */
231 if (retval == -ENOBUFS)
232 retval = 0;
230 } else 233 } else
231 retval = -ENOMEM; 234 retval = -ENOMEM;
232 } 235 }