]> git.baikalelectronics.ru Git - kernel.git/commit
sock: support per-packet fwmark
authorEdward Jee <edjee@google.com>
Thu, 8 Oct 2015 21:56:48 +0000 (14:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 02:25:21 +0000 (19:25 -0700)
commit696f98be95b266924da415e57e0ae286a59fa776
tree136f458e3435a79f3b5048b62dcd3c884ff644f2
parent38a715a41b6e99860b70bfd08f2ba0e25ea3f0bf
sock: support per-packet fwmark

It's useful to allow users to set fwmark for an individual packet,
without changing the socket state. The function this patch adds in
sock layer can be used by the protocols that need such a feature.

Signed-off-by: Edward Hyunkoo Jee <edjee@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c