aboutsummaryrefslogtreecommitdiff
path: root/include/linux/attribute_container.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-01-10 19:52:43 -0800
committerMoyster <oysterized@gmail.com>2017-06-17 15:49:27 +0200
commit29fcb08d193b5c4b5631f21d55ed0eef20ab2377 (patch)
tree27dfa7e4d3361388646c46d6edc87e82dbe613dd /include/linux/attribute_container.h
parent4e3ba2f54de1770eac5acc445a2a88c7afbc2aa6 (diff)
gro: use min_t() in skb_gro_reset_offset()
commit 7cfd5fd5a9813f1430290d20c0fead9b4582a307 upstream. On 32bit arches, (skb->end - skb->data) is not 'unsigned int', so we shall use min_t() instead of min() to avoid a compiler error. Fixes: 1272ce87fa01 ("gro: Enter slow-path if there is no tailroom") Reported-by: kernel test robot <fengguang.wu@intel.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/attribute_container.h')
0 files changed, 0 insertions, 0 deletions