Correct major and minor address checking in BPF