From: Stephen Rothwell Date: Tue, 23 Apr 2013 07:40:35 +0000 (+1000) Subject: netlink: fix typo in net/netlink/af_netlink.c X-Git-Tag: firefly_0821_release~3680^2~548^2~58 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1d5085cbab8c9fba727567102b104f06f2064b36;p=firefly-linux-kernel-4.4.55.git netlink: fix typo in net/netlink/af_netlink.c Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller --- diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 2a3e9ba814c4..da5601d13a7f 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c @@ -381,7 +381,7 @@ static void netlink_frame_flush_dcache(const struct nl_mmap_hdr *hdr) /* First page is flushed through netlink_{get,set}_status */ p_start = pgvec_to_page(hdr + PAGE_SIZE); - p_end = pgvec_to_page((void *)hdr + NL_MMAP_MSG_HDRLEN + hdr->nm_len - 1); + p_end = pgvec_to_page((void *)hdr + NL_MMAP_HDRLEN + hdr->nm_len - 1); while (p_start <= p_end) { flush_dcache_page(p_start); p_start++;