Re: [patch net-next 01/17] net: core: Make the FIB notification chain generic flat view From: David Ahern <hidden> Date: 2017-07-19 14:11:59 On 7/19/17 1:02 AM, Jiri Pirko wrote:quoted hunk ↗ jump to hunk+struct fib_notifier_ops * +fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net) +{ + struct fib_notifier_ops *ops; + int err; + + ops = kmemdup(tmpl, sizeof(*ops), GFP_KERNEL); why allocate memory to copy the ops?
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help