commit | 808c1b697c3c4dd2a7132882424c390b0d0acfb9 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Wed Mar 16 01:42:50 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 18 19:38:46 2016 -0400 |
tree | c43c9d8bd383b1c6063110c26c1ff495a37b5827 | |
parent | 09c37a2c5bbc28b5fbc07a01db4bccdbd0a5d8a2 [diff] |
bpf, dst: add and use dst_tclassid helper We can just add a small helper dst_tclassid() for retrieving the dst->tclassid value. It makes the code a bit better in that we can get rid of the ifdef from filter.c by moving this into the header. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>