summaryrefslogtreecommitdiff
path: root/include/net/pkt_cls.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-10-11 10:41:07 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-12 06:15:42 +0300
commit843e79d05addd8eb06992cd6dfafc7b9d53f2bc8 (patch)
treea8f2d384369cbf8834961bf51a9a67ee5b8947f3 /include/net/pkt_cls.h
parent7c6a86b4cd1b0134a4768505ce10e4ef3b9b0213 (diff)
downloadlinux-843e79d05addd8eb06992cd6dfafc7b9d53f2bc8.tar.xz
net: sched: make tc_action_ops->get_dev return dev and avoid passing net
Return dev directly, NULL if not possible. That is enough. Makes no sense to pass struct net * to get_dev op, as there is only one net possible, the one the action was created in. So just store it in mirred priv and use directly. Rename the mirred op callback function. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pkt_cls.h')
0 files changed, 0 insertions, 0 deletions