--- - branch: netbsd-8 date: Tue Mar 13 15:40:25 UTC 2018 files: - new: 1.242.6.5 old: 1.242.6.4 path: src/sys/net/if_ethersubr.c pathrev: src/sys/net/if_ethersubr.c@1.242.6.5 type: modified id: 20180313T154025Z.a9855283684e3ef0720a53928920e17c5c1167d6 log: "Pull up following revision(s) (requested by ozaki-r in ticket #628):\n\tsys/net/if_ethersubr.c: revision 1.250\n\tsys/net/if_ethersubr.c: revision 1.251\n\tsys/net/if_ethersubr.c: revision 1.252\n\tsys/net/if_ethersubr.c: revision 1.248\nUse kmem_alloc instead of kmem_intr_alloc in ether_addmulti\n\nether_addmulti is now not called in softint thanks to wqinput that\npulled input routines of ICMP out of softint.\n\nstyle\n\nFix the net.ether.multicast sysctl. If there is no multicast address\ndon't kmem_alloc(0) (which panics the kernel), and if the number of\nmulticast addresses has decreased don't copyout uninitialized kernel\ndata.\n\nSeveral fixes:\n - Style and typos\n - Use kmem_zalloc, in case there is a padding between the fields of\n the structures\n - Use ETHER_ADDR_LEN instead of a hard-coded '6'\n - kmem_alloc(KM_SLEEP) can't fail\n - Simplify ether_aton_r\n - Use mutex_obj_free, not to leak memory\n" module: src subject: 'CVS commit: [netbsd-8] src/sys/net' unixtime: '1520955625' user: martin