Skip to content

Commit

Permalink
net/ncsi: Fix AEN HNCDSC packet length
Browse files Browse the repository at this point in the history
Correct the value of the HNCDSC AEN packet.
Fixes: 7a82ecf "net/ncsi: NCSI AEN packet handler"

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 6850d0f)
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
  • Loading branch information
sammj authored and amboar committed Oct 24, 2017
1 parent a229cb1 commit 27c8926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ncsi/ncsi-aen.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static struct ncsi_aen_handler {
} ncsi_aen_handlers[] = {
{ NCSI_PKT_AEN_LSC, 12, ncsi_aen_handler_lsc },
{ NCSI_PKT_AEN_CR, 4, ncsi_aen_handler_cr },
{ NCSI_PKT_AEN_HNCDSC, 4, ncsi_aen_handler_hncdsc }
{ NCSI_PKT_AEN_HNCDSC, 8, ncsi_aen_handler_hncdsc }
};

int ncsi_aen_handler(struct ncsi_dev_priv *ndp, struct sk_buff *skb)
Expand Down

0 comments on commit 27c8926

Please sign in to comment.