[PATCHv2] net: bpf: reject invalid shifts From: Eric Dumazet <hidden> Date: 2016-01-12 22:34:48 Also in: netdev On Tue, 2016-01-12 at 11:53 -0800, Alexei Starovoitov wrote:On Tue, Jan 12, 2016 at 11:48:38AM -0800, Eric Dumazet wrote:quoted I believe we should add a one time warning to give a clue to poor users hitting this problem. you mean like warn_on_once() here? Makes sense I guess. pr_err(DEPRECATED, "%s (pid %d) " "invalid shift in BPF program.\n" current->comm, task_pid_nr(current)); Or something like that.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help