net: qualcomm: rmnet: Export mux_id and flags to netlink
Define new netlink attributes for rmnet mux_id and flags. These flags / mux_id were earlier using vlan flags / id respectively. The flag bits are also moved to uapi and are renamed with prefix RMNET_FLAG_*. Also add the rmnet policy to handle the new netlink attributes. Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
378e25357a
commit
14452ca3b5
@@ -69,7 +69,7 @@ static void rmnet_map_send_ack(struct sk_buff *skb,
|
||||
struct rmnet_map_control_command *cmd;
|
||||
int xmit_status;
|
||||
|
||||
if (port->data_format & RMNET_INGRESS_FORMAT_MAP_CKSUMV4) {
|
||||
if (port->data_format & RMNET_FLAGS_INGRESS_MAP_CKSUMV4) {
|
||||
if (skb->len < sizeof(struct rmnet_map_header) +
|
||||
RMNET_MAP_GET_LENGTH(skb) +
|
||||
sizeof(struct rmnet_map_dl_csum_trailer)) {
|
||||
|
||||
Reference in New Issue
Block a user