can: Propagate SO_PRIORITY of raw sockets to skbs
authorRostislav Lisovy <lisovy@gmail.com>
Fri, 24 Jan 2014 12:17:37 +0000 (13:17 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 29 Jan 2014 19:23:23 +0000 (20:23 +0100)
commitbb5ecb0c63ac88b6f39029f75c47f4be4e352e8d
tree678f8515bac117e504021b03219d72b20cf975d2
parent0e4b949e6620689b1d3142e20bca2c9d1f918fda
can: Propagate SO_PRIORITY of raw sockets to skbs

This allows controlling certain queueing disciplines by setting the
socket's SO_PRIORITY option.

For example, with the default pfifo_fast queueing discipline, which
provides three priorities, socket priority TC_PRIO_CONTROL means
higher than default and TC_PRIO_BULK means lower than default.

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/raw.c