]> git.baikalelectronics.ru Git - kernel.git/commit
net: sock: Change tx_queue_mapping in sock_common to unsigned short
authorAmritha Nambiar <amritha.nambiar@intel.com>
Sat, 30 Jun 2018 04:26:51 +0000 (21:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jul 2018 00:06:24 +0000 (09:06 +0900)
commita3171585d240ae325ff27d40d81e93bf914d1f25
treef8fc9a1a25d6c0868ea2fa96b0b7074b63b72a59
parent244e1586a60e50e80f32ef5186a7ff1f94683617
net: sock: Change tx_queue_mapping in sock_common to unsigned short

Change 'skc_tx_queue_mapping' field in sock_common structure from
'int' to 'unsigned short' type with ~0 indicating unset and
other positive queue values being set. This will accommodate adding
a new 'unsigned short' field in sock_common in the next patch for
rx_queue_mapping.

Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h