Skip to content

Commit

Permalink
net: qualcomm: rmnet: Always assign rmnet dev in deaggregation path
Browse files Browse the repository at this point in the history
The rmnet device needs to assigned for all packets in the
deaggregation path based on the mux id, so the check is not needed.

Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Subash Abhinov Kasiviswanathan authored and David S. Miller committed Oct 27, 2017
1 parent 2ffbbf0 commit 85355d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ __rmnet_map_ingress_handler(struct sk_buff *skb,
if (!ep)
goto free_skb;

if (port->ingress_data_format & RMNET_INGRESS_FORMAT_DEMUXING)
skb->dev = ep->egress_dev;
skb->dev = ep->egress_dev;

/* Subtract MAP header */
skb_pull(skb, sizeof(struct rmnet_map_header));
Expand Down

0 comments on commit 85355d7

Please sign in to comment.